Setup required

Cozy Space needs Supabase before it can go live.

Fill out .env.local from .env.example, run the SQL migration in supabase/migrations, enable Realtime for chat tables, then restart the app. Web Push keys are optional and only needed for browser notifications.

  1. 1. Create a Supabase project with Auth, Realtime, and Storage enabled.
  2. 2. Copy the public URL, publishable key (or legacy anon key), and service role key into .env.local.
  3. 3. Apply the SQL migration from supabase/migrations.
  4. 4. Enable Realtime for messages and conversation_members.
  5. 5. Optionally generate Web Push VAPID keys if you want browser notifications from day one.
  6. 6. Restart npm run dev.