Files
rolld/rolld_backend
kerboul aa27725c4e feat: nouveau build WebGL last_build + fixes stats et schema Colyseus
- Unity build last_build remplace build_mai
- NetworkSchema.cs: correction types sbyte pour int8 (fix OverflowException Colyseus)
- StatsTracker: envoi periodique toutes les 30s, plus de dependance aux round events
- StatsTracker: cooldown client 6s pour respecter le rate-limit serveur
- StatsPage: correction row.value au lieu de row[activeTab]
- StatsPage: suppression onglet Courses (racesPlayed)
- Backend index.js: logging POST /stats/update
- Scene Tutorial: mise a jour, suppression assets obsoletes (TutorialInfo, physicMaterials)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18 00:12:14 +02:00
..

ROLL'D Backend

Monorepo backend pour le jeu ROLL'D — architecture microservices.

Services

Service Port Stack Description
auth 3001 Node.js + Express Authentification & sessions
game 2567 Node.js + Colyseus Serveur de jeu temps réel
stats 8000 Python + FastAPI Statistiques & analytics

Infrastructure

Service Port Description
postgres 5432 Base de données
redis 6379 Cache / PubSub

Quickstart

# Lancer tout l'environnement de dev
docker compose up --build

# Un seul service
docker compose up auth

# Dev sans Docker
cd auth && npm install && npm run dev
cd game && npm install && npm run dev
cd stats && pip install -r requirements.txt && uvicorn app.main:app --reload

Structure

├── auth/           # Service d'authentification
│   ├── Dockerfile
│   ├── package.json
│   └── src/
├── game/           # Serveur Colyseus
│   ├── Dockerfile
│   ├── package.json
│   └── src/
├── stats/          # Service de statistiques
│   ├── Dockerfile
│   ├── requirements.txt
│   └── app/
└── docker-compose.yml