- Node.js (v20+ recommended)
- NPM package manager
-
Fork this repository, install npm dependencies, etc.
-
Set up Supabase (local PostgresSQL instance):
A database is scaffolded in the supabase directory, but you'll need set up and run the Supabase container (check out this guide).
- Start the development server:
npm run dev- Happy coding
Find your assignment, at http://localhost:3001
Start developing the app, at http://localhost:3000
ESPN Hidden API
ESPN Hidden API: Documentation Gist
Here are some useful endpoints for fetching player data. Example Player ID: 5037870:
Player profile:
https://site.web.api.espn.com/apis/common/v3/sports/basketball/mens-college-basketball/athletes/5037870
Player splits (stats per game):
https://site.web.api.espn.com/apis/common/v3/sports/basketball/mens-college-basketball/athletes/5037870/splits