Monorepo for Midwest Ball: static viz site + football data pipeline.
| Path | Role |
|---|---|
frontend/ |
Next.js App Router site (static export → GitHub Pages) |
backend/ |
Ballnet Python ETL (publishes JSON to Supabase Storage) |
Originals ehfurgeson/knowball and ehfurgeson/ballnet are unchanged. This repo imported their histories under frontend/ and backend/.
cd frontend
cp .env.example .env.local # set NEXT_PUBLIC_SUPABASE_URL
npm ci
npm run dev # local
npm run build # writes out/ for PagesGitHub Actions deploys frontend/out on push to main. Set repository variable NEXT_PUBLIC_SUPABASE_URL to the public Supabase project URL.
cd backend
uv sync
uv run ballnet --help
# Weekly recipe: see backend/docs/WEEKLY_OPS.md
# Optional local index mirror: --sync-midwestball ../frontendPipeline artifacts stay in gitignored backend/data/; production handoff is upload-storage to the public knowball-public bucket.
- Monorepo + static Pages ADR
- Frontend architecture:
frontend/docs/architecture/README.md - Backend ops:
backend/docs/WEEKLY_OPS.md