How exiastar/football-scores works
Gridiron is a self-hosted NFL and college-football scores dashboard. A user signs in, then the browser polls the backend for live games; the backend fetches and normalizes ESPN scoreboard data, and the client presents scores with calendar, schedule-list, team-filter, NFL-standings, and game-detail views. The backend also serves the web assets and protects score endpoints with token authentication. Source excerpts show the live-poll and server paths; schedule-loading and some UI wiring are not fully sampled, so those links are documented or omitted where evidence is limited.
Main entry points: app.js Score client · server.js API routes
Components 14
Dashboard client
- Sign-in UI
public/app.js - Score client
public/app.js - Calendar view
public/app.js - Schedule list
public/app.js - Team filter
public/app.js - NFL standings
public/app.js - Game details
public/app.js
Backend services
- API routes
server.js - Token authentication
server.js - Schedule cache
server.js - Active-week selection
server.js - Game normalization
server.js
External data
- ESPN scoreboards
Other components
- Dashboard user
Connections 16
- Dashboard user → Sign-in UI: signs in
README.md - Dashboard user → Score client: views scores
README.md - Sign-in UI → API routes: submits login
- Score client → API routes: requests live scores
public/app.js - API routes → Token authentication: checks protected routes
server.js - API routes → Schedule cache: gets schedule
server.js - Schedule cache → ESPN scoreboards: fetches weeks
server.js - API routes → Active-week selection: selects live weeks
server.js - Active-week selection → ESPN scoreboards: refreshes weeks
server.js - ESPN scoreboards → Game normalization: provides events
server.js - Game normalization → API routes: returns normalized games
server.js - Score client → Calendar view: renders calendar
public/app.js - Score client → Schedule list: renders schedule
public/app.js - Score client → Team filter: builds team options
public/app.js - Score client → NFL standings: renders standings
public/app.js - Score client → Game details: opens game modal
public/app.js