sxsphinxstack

Projects / A stats platform your whole team updates

A stats platform your whole team updates

Level 2: two to three weeks, real architecture. Use with: build-web-app, database-basics, auth-basics. Resume line when done: Built {project_name}, a multi-user sports stats platform with per-player accounts — live at {url}

Brief

A stats site for a team you play on or manage, where the team itself enters the data. After each game, players sign in and log their own numbers; the site computes season totals, averages, and a leaderboard anyone can view. The public pages are read-only; writing requires an account. Data lives in a hosted database (Supabase or Firebase, both free at this scale) which also provides sign-in; the frontend deploys free on Netlify or Vercel.

Personalize

Milestones

  1. README first: what is a game, what is a stat line, which stats you track, and the formula for each derived number.
  2. Database tables for players, games, and stat lines, with a seed script full of plausible fake data.
  3. Public read-only season page deployed to a live URL by end of week one: totals and leaderboard computed from the database.
  4. Accounts: players sign up with a team invite code so strangers cannot join.
  5. Signed-in entry form: a player submits a stat line for a game; it appears in the totals immediately.
  6. Editing with limits: a player can fix their own line; only the captain role can edit anyone's. Enforce on the server side.
  7. Unhappy paths: duplicate stat line for the same player and game, a game entered twice, nonsense values rejected with a message.
  8. A real game weekend: the team logs an actual game, you watch what confuses them, and you fix the two worst things.
  9. Final pass: consent confirmed for every listed player, README documents the schema and the derived-stat formulas in your words.

Done means