Setup

Connect the live services

ReviewFlow runs locally without credentials, but the real product needs a few environment variables before auth, storage, and payments will work in production.

Environment status

Checking required variables...

Required environment variables

  • - `NEXT_PUBLIC_SUPABASE_URL`
  • - `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY`
  • - `SUPABASE_SERVICE_ROLE_KEY`
  • - `LEMONSQUEEZY_WEBHOOK_SECRET`

Steps

  1. 1. Copy `.env.example` to `.env.local`.
  2. 2. Create the schema in `supabase/schema.sql`.
  3. 3. Configure Supabase Auth email delivery.
  4. 4. Add your Lemon Squeezy webhook secret.
  5. 5. Optionally seed a starter org with `npm run seed`.
  6. 6. Run `npm run check:env`, `npm run build`, and `npm run smoke`.