- React (Vite)
- Vercel Functions (
/api/waitlist,/api/waitlist-count) - Supabase (waitlist storage)
- Resend (confirmation email)
SUPABASE_URLSUPABASE_ANON_KEYorSUPABASE_SERVICE_ROLE_KEYSUPABASE_WAITLIST_TABLE(optional, defaults towaitlist)RESEND_API_KEY(optional, enables confirmation emails)RESEND_FROM(optional, defaults toGreeta <onboarding@resend.dev>)TURNSTILE_SECRET_KEY(optional, enables Cloudflare Turnstile verification)VITE_TURNSTILE_SITE_KEY(optional, renders Turnstile widget in frontend)
- Frontend only:
npm run dev - API server (Vercel Functions on port 3000):
npm run dev:api - Frontend + Vercel in one server:
npm run dev:vercel
If you run npm run dev on http://localhost:5173, it now proxies /api/* to http://localhost:3000.
So run these in two terminals:
npm run dev:apinpm run dev