How pablogarciavacas/overloadseries works
This repository appears to implement a football-league web app: users browse league information and match records, while administrators manage competition structure, matches, events, ratings, awards, and historical records. Separate Fantasy and Arcade experiences provide league games and collectible-card mechanics. The sampled routes show API handlers reading and writing Cloudflare-backed database state; Fantasy and Arcade also use imported match-event data. The UI and several routes were not sampled, and the README is empty, so links between screens and unsampled subsystems are shown only where their wiring is supported.
Main entry points: index.ts Database access · chatgpt-auth.ts ChatGPT auth · fantasy/route.ts Fantasy service · arcade/route.ts Arcade service
Components 25
Web experiences
- App entry
app/page.tsx - League app
app/league-app.tsx - Arcade hub
app/components/ArcadeHub.tsx - Fantasy hub
app/components/FantasyHub.tsx - Match momentum
app/components/MatchMomentum.tsx
League administration
- League structure
app/api/league-structure/route.ts - Matches
app/api/matches/route.ts - Match events
app/api/match-events/route.ts - Match analysis
app/api/match-analysis/route.ts - Match ratings
app/api/match-ratings/route.ts - Player overrides
app/api/players/route.ts - Individual awards
app/api/individual-awards/route.ts - Trophies
app/api/trophies/route.ts - League timeline
app/api/timeline/route.ts
Games
- Fantasy service
app/api/fantasy/route.ts - Arcade service
app/api/arcade/route.ts
Data and persistence
- League model
lib/league-data.ts - Narration analysis
lib/narration-analysis.ts - Team keys
lib/team-key.ts - ChatGPT auth
app/chatgpt-auth.ts - Database access
db/index.ts - League schema
db/schema.ts - League database
- Imported events
data/imported-match-events.json
Other components
- Visitor
Connections 35
- Visitor → App entry: opens
- Fantasy service → ChatGPT auth: authenticates
- Arcade service → ChatGPT auth: authenticates
- League structure → ChatGPT auth: checks admin
- Matches → ChatGPT auth: checks admin
- Match events → ChatGPT auth: checks admin
- Match analysis → ChatGPT auth: checks admin
- Match ratings → ChatGPT auth: checks admin
- Player overrides → ChatGPT auth: checks admin
- Individual awards → ChatGPT auth: checks admin
- Trophies → ChatGPT auth: checks admin
- League timeline → ChatGPT auth: checks admin
- Fantasy service → League model: uses
- Fantasy service → Team keys: normalizes teams
- Fantasy service → Narration analysis: analyzes
- Fantasy service → Imported events: reads
- Arcade service → League model: uses
- Arcade service → Imported events: reads
- League structure → Team keys: normalizes teams
- League structure → Database access: queries
- Matches → Database access: queries
- Match events → Database access: queries
- Match analysis → Database access: queries
- Match ratings → Database access: queries
- Player overrides → Database access: queries
- Individual awards → Database access: queries
- Trophies → Database access: queries
- League timeline → Database access: queries
- Fantasy service → League database: reads/writes
- Arcade service → League database: reads/writes
- Database access → League schema: uses
- Database access → League database: connects
- League app → Fantasy hub
- League app → Arcade hub
- League app → Match momentum