- Create a project at supabase.com.
- Copy Project URL and anon public key into
.env.local:NEXT_PUBLIC_SUPABASE_URLNEXT_PUBLIC_SUPABASE_ANON_KEY
- In the SQL editor, run
schema.sql. - Auth → Providers: enable Email (and Google if you want OAuth).
- Auth → URL Configuration: add
http://localhost:3000/**(and your production URL). - Restart
npm run dev.
Products live in the products table; images in the public products storage bucket.