Starter projects
Start a sports data project in your stack.
Each one is a small, complete project: every file, how to run it, and what we ran to check it works.
- FastAPI soccer analytics backend starter. Copy-paste FastAPI service wrapping StrikerAPI standings and Elo ratings with a TTL cache, single-flight loading and stale fallback. Tested with uvicorn.
- Next.js NBA scoreboard with a server-side API key. Build a Next.js App Router page that lists today's NBA games with a server-side fetch, 60 second revalidate and the API key kept off the browser.
- NBA backtesting starter with Python and DuckDB. Copy-paste Python and DuckDB project: load a season of NBA games and closing lines, then score an Elo rating model against the market.
- NFL player props pipeline with Python and Polars. Copy-paste Python and Polars pipeline: pull NFL player prop history from EndzoneAPI and compute over rates by market and season, as information.
- R and Arrow Parquet shot model starter. Copy-paste R starter: read SportsDataHQ NHL Parquet samples with arrow, build distance and angle features, fit a logistic shot model and test it by game.
- NBA shot chart dashboard with Streamlit. Copy-paste Streamlit app: search an NBA player, pull every shot from DunkAPI and draw the shot chart on a half court with a zone table.
- Supabase pg_cron NHL data ingestion starter. Copy-paste Supabase starter: pg_cron triggers an Edge Function that upserts daily NHL games from PuckAPI into Postgres. Full code, run steps and limits.
- Discord sports bot in TypeScript with slash commands. Copy-paste TypeScript discord.js bot with /standings and /scores slash commands backed by PuckAPI, with a handler you can unit test without a token.
- Rust and polars Parquet backtester starter. Rust starter: read SportsDataHQ NHL Parquet with polars and walk-forward test a shot-quality model, scoring each game on the games before it.