How francotesti/gestor-de-turnos-para-partidas-de-juegos-de-rol works
This is a role-playing game session manager with a React client and an Express API backed by PostgreSQL. A player or host enters through the web app, authenticates, and manages games, characters, sessions, missions, inventories, and shops; API routes enforce permissions and delegate domain work before persisting it through MikroORM. The README also documents rewards, inventory transactions, host ratings, and class-based suggestions. Some frontend pages and backend modules are indexed but unsampled, so those documented capabilities are included without asserting unshown call paths.
Main entry points: entities Game entities · App.tsx React app · app.ts Express application · juego.routes.ts Game routes
Components 20
Web client
- React app
frontend/src/App.tsx - Account pages
frontend/src/pages/LoginPage.tsx - Game pages
frontend/src/pages/ModulePage.tsx - Catalog pages
frontend/src/pages/PersonajesPage.tsx - API client
frontend/src/services/api.ts
API and identity
- Express application
src/app.ts - Authentication
src/security/auth.ts - User routes
src/routes/usuario.routes.ts - Game routes
src/routes/juego.routes.ts - Authorization
src/security/authorization.ts
Game operations
- Character service
src/services/personaje.service.ts - Object service
src/services/objeto.service.ts - Session and mission service
src/services/juego.service.ts - Sale rules
src/services/venta.rules.ts - Other game services
src/services - User service
src/services/usuario.service.ts
Persistence model
- Game entities
src/entities - PostgreSQL
src/mikro-orm.config.ts
Other components
- Player or host
- Supabase PostgreSQL
Connections 24
- Player or host → React app: uses
README.md - React app → Account pages: routes to
frontend/src/App.tsx - React app → Game pages: routes to
frontend/src/App.tsx - React app → Catalog pages: routes to
frontend/src/App.tsx - Account pages → API client: requests
- Game pages → API client: requests
- Catalog pages → API client: requests
- API client → Express application: HTTP API
- Express application → Authentication: configures
src/app.ts - Express application → User routes: mounts
src/app.ts - Express application → Game routes: mounts
src/app.ts - User routes → Authorization: checks access
src/routes/usuario.routes.ts - Game routes → Authorization: checks ownership
src/routes/juego.routes.ts - Game routes → Session and mission service: delegates
src/routes/juego.routes.ts - Game routes → Object service: suggests items
src/routes/juego.routes.ts - Object service → Sale rules: uses
- User routes → User service: delegates
src/routes/usuario.routes.ts - User service → Game entities: persists
- Session and mission service → Game entities: reads and writes
src/services/juego.service.ts - Object service → Game entities: reads and writes
src/services/objeto.service.ts - Character service → Game entities: reads and writes
src/services/personaje.service.ts - Other game services → Game entities: persists domain data
src/services/juego.service.ts - Game entities → PostgreSQL: maps schema
- PostgreSQL → Supabase PostgreSQL: connects