Wire up Supabase to use the app.
The marketing pages work without a backend, but the app side (Circles, events, RSVPs, chat, album) needs a Supabase project. It's free and takes about 3 minutes.
Create a Supabase project
Go to supabase.com/dashboard/new and create a project. The free tier is plenty for testing.Grab your keys
In your project, open Settings → API. Copy the Project URL, the anon public key, and the service_role secret key.Drop them in .env.local
In the project root, create.env.local(copy from.env.local.example) and paste:NEXT_PUBLIC_SITE_URL=http://localhost:3004 NEXT_PUBLIC_SUPABASE_URL=https://YOUR_PROJECT.supabase.co NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJ... SUPABASE_SERVICE_ROLE_KEY=eyJ...
Run the SQL migrations
Open the SQL Editor in Supabase and run, in order:0001_initial_schema.sql— tables + RLS + auto-profile trigger0002_phase2.sql— recurrence, sub-event polish, waitlist auto-promote0003_realtime_chat.sql— real-time chat publication0004_booking_hub.sql— booking links0005_reclub_parity.sql— kind, duration, +10006_cost_split.sql— payment / cost-split
Then in Storage create two public buckets:
mediaandcovers.Restart the dev server
Stop the dev server (Ctrl-C in the terminal) and runnpm run devagain so Next.js picks up the new env vars.