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.
- 01
Create the environment file
Copy
.env.exampleto.env.localand add your local Supabase keys plus Stripe test keys. - 02
Start Supabase
npx supabase start npx supabase db resetLocal sign-up confirmations and password-reset emails appear in the mail interface reported by
supabase status. Normal password sign-ins send no email. - 03
Forward Stripe events
stripe listen --forward-to localhost:3000/api/stripe/webhookCopy the displayed webhook signing secret into
.env.local. - 04
Run SpotMark
npm run devUse Stripe test mode only. Publishing requires completing hosted Connect onboarding.
- 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.