Developer notes

This is the starter scaffold for collABA: Supabase schema + RLS + Next.js App Router + Supabase Auth.

1) Apply the database migrations

In Supabase SQL Editor run:

  • supabase/migrations/20260222140000_init.sql
  • supabase/seed/0002_seed_and_scoring.sql

2) Configure environment variables

Copy .env.example to .env.

Minimum required:

  • NEXT_PUBLIC_SUPABASE_URL
  • NEXT_PUBLIC_SUPABASE_ANON_KEY
  • NEXT_PUBLIC_SITE_URL

3) Run locally

npm install
npm run dev

4) Deploy on Vercel

  1. Push this repo to GitHub
  2. Import the project in Vercel
  3. Add the same environment variables in Vercel
  4. Deploy

Make sure you set your Supabase Auth redirect URLs to include your Vercel domain.