endeavor to join the telegram group before you apply for issues https://t.me/+7CVopkI8kO85MWY0
Renaissance is a Web3-powered football fan engagement platform built on the Stellar blockchain, designed to redefine how fans follow teams, engage with football stars, and participate in transparent sports betting.
This repository contains the backend services that power user management, live football data ingestion, betting orchestration, premium content access, and integration with Stellar Soroban smart contracts.
The Renaissance backend acts as the core orchestration layer between:
- A high-performance Web2 infrastructure (for live scores, content, and scalability)
- A Web3 blockchain layer on Stellar (for trustless betting, ownership, and rewards)
The backend is optimized for real-time football events, high concurrency during live matches, and seamless interaction with Soroban smart contracts deployed on Stellar.
- Fetch and cache live football data (fixtures, scores, teams, players)
- Orchestrate on-chain betting workflows
- Manage user profiles and preferences
- Handle fan engagement logic (following teams, stats, rewards)
- Gate premium footballer lifestyle content
- Interface with Stellar Soroban smart contracts
- Expose secure APIs for the Next.js frontend
- Ensure reliability during traffic spikes
- Node.js
- NestJS β modular, scalable backend architecture
- TypeScript β strong typing and maintainability
- PostgreSQL β primary relational database
- Prisma ORM β type-safe database access
- Redis β caching live scores, odds, and hot queries
- Stellar Blockchain
- Soroban Smart Contracts β on-chain betting & rewards logic
- Stellar SDK β blockchain interaction
- Freighter Wallet (and other Stellar-compatible wallets)
- Football data APIs (e.g. API-Football, SportMonks)
- CMS (Sanity / Strapi) for premium lifestyle content
- IPFS / Arweave (optional) for decentralized media storage
- Docker
- GitHub Actions (CI/CD)
- Swagger / OpenAPI for API documentation
- Sentry for error monitoring
src/
βββ auth/ # Authentication & wallet linking
βββ users/ # User profiles & preferences
βββ teams/ # Teams & players data
βββ matches/ # Fixtures & live scores
βββ betting/ # Betting orchestration logic
βββ content/ # Premium & lifestyle content access
βββ blockchain/ # Stellar & Soroban interactions
βββ common/ # Shared utilities, guards, interceptors
βββ config/ # Environment & app configuration
βββ main.ts # Application entry point
βββ app.module.ts # Root module