What this stack is for
You have an idea, a free weekend, and no appetite for infrastructure decisions. This stack is the set of defaults that gets you from empty repo to public URL without opening a single pricing calculator: every service here has a free tier that survives your first hundred users, and every piece is boring enough that your agent has seen ten thousand of them. The speed comes from not deciding. So don't.
Components
- Vercel — hosting, deploys from git, preview URLs per branch
- Vite + React — the frontend build and UI layer
- Supabase — Postgres database, auth, and row-level security in one service
- Resend — sends the contact-form email (and later, transactional email)
- PostHog — knows whether anyone actually used the thing
How the pieces fit
- The React app builds with Vite and deploys to Vercel on every git push
- Supabase holds the data; the app talks to it with the Supabase client + row-level security
- The contact form posts to a serverless function that sends mail through Resend
- PostHog's snippet captures pageviews and the events you define
- Environment variables hold every key; nothing secret ships to the browser
Setup outline
- Create the Vite + React app and push it to GitHub (full walkthrough coming)
- Import the repo into Vercel — first deploy (full walkthrough coming)
- Create the Supabase project; wire URL + anon key via env vars (full walkthrough coming)
- Add the contact form + Resend API route (full walkthrough coming)
- Add PostHog and define your first three events (full walkthrough coming)
What to hand your agent
Give the agent the whole picture in one shot, not a trail of clues:
- The full stack description above, plus your PRD (see the Product Requirements Document template)
- The env-var names the app expects
- The instruction to use Supabase row-level security from day one
Adaptation notes
- Next.js instead of Vite works everywhere Vite appears here; Vercel treats it as native
- Swap PostHog for Plausible if you only need pageviews
- Supabase auth can be skipped entirely for a no-login tool