This project is built with Next.js, Drizzle and Supabase.
It's built to post news, display rating tables, showcase champions, manage documents, and, most importantly, provide fast rating updates.
Copy the example file and fill in your credentials:
cp .env.example .env.local| Variable | Description |
|---|---|
DATABASE_URL |
Postgres connection string (from Supabase → Project Settings → Database) |
NEXT_PUBLIC_SUPABASE_URL |
Supabase project URL |
NEXT_PUBLIC_SUPABASE_ANON_KEY |
Supabase anon/public key |
NEXT_PUBLIC_APP_URL |
Base URL of the app (e.g. http://localhost:3000) |
NEXT_PUBLIC_API_URL |
API base URL (e.g. http://localhost:3000/api) |
bun installbun db:generate
bun db:migrateUse
bun db:pushto push schema changes directly without generating migration files (useful during development).
bun db:seedThis inserts initial data for locations, clubs, roles, titles, and players.
bun devOpen http://localhost:3000 in your browser.
| Command | Description |
|---|---|
bun db:generate |
Generate migration files from schema changes |
bun db:migrate |
Run pending migrations |
bun db:push |
Push schema directly to the database |
bun db:pull |
Pull schema from the database |
bun db:studio |
Open Drizzle Studio to browse data |
bun db:seed |
Seed the database with initial data |
Built by Andrews