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.

  1. BuilderEstimated
    Cursor
    An AI agent writes the code; you own the repo.
    US$8
  2. FrontendEstimated
    Next.js
    Open-source React framework.
    US$0
  3. Database + AuthEstimated
    Supabase
    Postgres plus auth in one project.
    US$0
    • DatabaseSupabase
    • AuthSupabase
  4. PaymentsEstimated
    Stripe
    Checkout with webhooks.
    US$0
  5. EmailEstimated
    Resend
    Simple API for receipts.
    US$20
  6. HostingEstimated
    Vercel
    First-party Next.js hosting.
    US$20
  7. AnalyticsEstimated
    PostHog
    Free monthly allowance.
    US$0

Time and cost

Time to working
—
After the test build
Monthly bill · 1k
US$48/mo
Estimated
Layer1001k10k
Plus (entry paid tier)US$8US$8US$8
Next.jsUS$0US$0US$0
SupabaseUS$0US$0US$25
StripeUS$0US$0US$0
ResendUS$0US$20US$20
VercelUS$20US$20US$20
PostHogUS$0US$0Not yet measured
TotalUS$28US$48Not 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

Test 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.

Notify me
  1. 1

    Create the project in Cursor

    Not started
    Screenshot will go here
  2. 2

    Connect the other layers

    Not started
    Screenshot will go here
  3. 3

    Build the reference app: login + CRUD + Stripe checkout + email receipt

    Not started
  4. 4

    Record the time and the real bill

    Not started
  5. 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 yet

Results will show here after the test build. Until then, check these yourself before launch.

CheckResult
Database rules (RLS or equivalent)Pending test
No secret keys in the browserPending test
Payment webhook is verifiedPending test
Login attempts are rate-limitedPending 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).
Cursor + Next.js + Supabase + Vercel + Stripe · TestedStacks