How monish1107n/taloria works
TALORIA connects athletes, scouts, tournament organizers, and sponsors through profile discovery, tournament applications, selection, and sponsorship. The frontend routes role-specific screens through a typed API client to an Express backend, whose domain routes implement the platform workflows over PostgreSQL. The graph preserves documented verification, messaging, notifications, and administration capabilities. Evidence is strongest for sampled route dispatch and several workflow modules; some listed subsystems are unsampled, so their internal calls are not inferred.
Main entry points: app.js HTTP application · db.js PostgreSQL data · tournaments.routes.js Tournament management · App.tsx Role-based screens
Components 20
Web application
- Role-based screens
frontend/src/App.tsx - Session state
frontend/src/auth/AuthProvider.tsx - Typed API client
frontend/src/lib/endpoints.ts
Backend platform
- HTTP application
backend/src/app.js - Authentication
backend/src/routes/auth.routes.js - Identity and roles
backend/src/middleware/authenticate.js - PostgreSQL data
backend/src/config/db.js
Tournament lifecycle
- Tournament management
backend/src/routes/tournaments.routes.js - Applications and selection
backend/src/routes/applications.routes.js - Performance statistics
backend/src/services/statistics.js - Tournament sponsorship
backend/src/routes/sponsorships.routes.js - Sports categories
backend/src/routes/sports.routes.js
Discovery and operations
- Athlete profiles
backend/src/routes/athletes.routes.js - Athlete discovery
backend/src/routes/scouting.routes.js - Profile verification
backend/src/routes/verification.routes.js - Platform messaging
backend/src/routes/messages.routes.js - Notifications
backend/src/routes/notifications.routes.js - Platform administration
backend/src/routes/admin.routes.js - Public browsing
backend/src/routes/public.routes.js
Other components
- Platform users
Connections 32
- Platform users → Role-based screens: use platform
README.md - Role-based screens → Session state: checks session
frontend/src/App.tsx - Role-based screens → Typed API client: loads domain data
- Typed API client → HTTP application: sends REST requests
frontend/src/lib/endpoints.ts - HTTP application → Authentication: mounts
backend/src/app.js - HTTP application → Athlete profiles: mounts
backend/src/app.js - HTTP application → Tournament management: mounts
backend/src/app.js - HTTP application → Applications and selection: mounts
backend/src/app.js - HTTP application → Tournament sponsorship: mounts
backend/src/app.js - HTTP application → Platform messaging: mounts
backend/src/app.js - HTTP application → Notifications: mounts
backend/src/app.js - HTTP application → Profile verification: mounts
backend/src/app.js - HTTP application → Platform administration: mounts
backend/src/app.js - HTTP application → Public browsing: mounts
backend/src/app.js - HTTP application → Athlete discovery: mounts
backend/src/app.js - HTTP application → Sports categories: mounts
backend/src/app.js - Authentication → PostgreSQL data: queries
backend/src/routes/auth.routes.js - Athlete profiles → PostgreSQL data: queries
backend/src/routes/athletes.routes.js - Tournament management → PostgreSQL data: queries
backend/src/routes/tournaments.routes.js - Applications and selection → PostgreSQL data: queries
backend/src/routes/applications.routes.js - Tournament sponsorship → PostgreSQL data: queries
backend/src/routes/sponsorships.routes.js - Platform messaging → PostgreSQL data: queries
backend/src/routes/messages.routes.js - Athlete profiles → Performance statistics: uses statistics
backend/src/routes/athletes.routes.js - Tournament management → Performance statistics: validates performance
backend/src/routes/tournaments.routes.js - Platform users → Tournament management: publish events
README.md - Platform users → Applications and selection: apply and decide
README.md - Platform users → Athlete discovery: discover talent
README.md - Platform users → Tournament sponsorship: support events
README.md - Platform users → Profile verification: request review
README.md - Platform users → Platform messaging: contact platform users
README.md - Platform users → Notifications: receive updates
README.md - Platform users → Platform administration: administer platform
README.md