Code routelogin + CRUD + Stripe checkout + email receipt
Cursor + Next.js + Supabase + Vercel + Stripe
Log in, save data, take a payment, send a receipt. Estimated from docs and public pricing. A real test build is coming soon.
EstimatedFrom docs and public pricing · last verified 19 Oct 2026 · test build coming soon
Open Cursor No affiliate linkWe earn nothing from this link.
The stack
Top to bottom. Cost chips are the estimated monthly price at 1k users.
- BuilderEstimatedCursorUS$8An AI agent writes the code; you own the repo.
- FrontendEstimatedNext.jsUS$0Open-source React framework.
- PaymentsEstimatedStripeUS$0Checkout with webhooks.
- EmailEstimatedResendUS$20Simple API for receipts.
- HostingEstimatedVercelUS$20First-party Next.js hosting.
- AnalyticsEstimatedPostHogUS$0Free monthly allowance.
Time and cost
Time to working
—
After the test build
Monthly bill · 1k
US$48/mo
Estimated
| Layer | 100 | 1k | 10k |
|---|---|---|---|
| Plus (entry paid tier) | US$8 | US$8 | US$8 |
| Next.js | US$0 | US$0 | US$0 |
| Supabase | US$0 | US$0 | US$25 |
| Stripe | US$0 | US$0 | US$0 |
| Resend | US$0 | US$20 | US$20 |
| Vercel | US$20 | US$20 | US$20 |
| PostHog | US$0 | US$0 | Not yet measured |
| Total | US$28 | US$48 | Not measured |
Plus (entry paid tier) US$8/month before tax. Premium is US$30/month before tax.
Estimated monthly cost by users. US$. A zero is a recorded monthly price, not a test bill.1 layer isn't measured yet at the scale with the most gaps.
Build log
Step by step, with screenshots, once the test build is done.
Coming soon
Notify meTest build coming soon
We’ll build the reference app on this exact stack and log each step: what we asked for, what broke and how long it took.
- 1
Create the project in Cursor
Not startedScreenshot will go here - 2
Connect the other layers
Not startedScreenshot will go here - 3
Build the reference app: login + CRUD + Stripe checkout + email receipt
Not started - 4
Record the time and the real bill
Not started - 5
Run the security check
Not started
Starter prompt
Paste this into Cursor as your first message. We haven't tested it in a build yet.
Prompt · Cursor133 words
Create a Next.js App Router project with Supabase auth (email + Google), a Postgres table of user-owned items with RLS policies, CRUD pages, a Stripe Checkout route with a verified webhook, and a Resend email receipt. Read all secrets from environment variables; never expose service keys to the client. Add rate limiting to API routes. For every new table, add explicit grants for only the roles that need it, then enable RLS and add policies, in the same migration. Supabase's changelog gives 30 Oct 2026 as the date existing projects stop granting new public-schema tables to anon, authenticated and service_role automatically (new projects have defaulted to this since 30 May 2026). On 31 Oct 2026 Supabase's docs didn't yet say it was in place. Never grant all to anon or turn RLS off.
Security check
Not tested yetResults will show here after the test build. Until then, check these yourself before launch.
| Check | Result |
|---|---|
| Database rules (RLS or equivalent) | Pending test |
| No secret keys in the browser | Pending test |
| Payment webhook is verified | Pending test |
| Login attempts are rate-limited | Pending test |
Gotchas
- Vercel Hobby is for personal, non-commercial use, so a business needs Pro (Vercel pricing).
- Plus (entry paid tier) US$8/month before tax. Premium US$30/month before tax. Checked 29 Oct 2026 (x.ai/pricing). Plus: only Grok models are available on this plan (cursor.com/pricing). Premium and up: 3rd party models are available in Cursor, billed separately by usage. The X Subscription became available to new customers on 12 Oct 2026 (x.ai/news/x-subscription).