Local-first setup

Connect the marketplace services.

The interface is available in preview mode. Persistence, authentication and payment actions activate after the local services are configured.

  1. 01

    Create the environment file

    Copy .env.example to .env.local and add your local Supabase keys plus Stripe test keys.

  2. 02

    Start Supabase

    npx supabase start
    npx supabase db reset

    Local sign-up confirmations and password-reset emails appear in the mail interface reported by supabase status. Normal password sign-ins send no email.

  3. 03

    Forward Stripe events

    stripe listen --forward-to localhost:3000/api/stripe/webhook

    Copy the displayed webhook signing secret into .env.local.

  4. 04

    Run SpotMark

    npm run dev

    Use Stripe test mode only. Publishing requires completing hosted Connect onboarding.

  5. 05

    Prepare public authentication

    Before opening registration, connect spotmark.shop to Vercel, verify it with an email provider, enable custom SMTP and email confirmation in Supabase, and test the confirmation and reset links. See the README launch setup.