The near-zero-cost stack I use to run a production web app solo (and the gotchas nobody mentions)

by•

I'm running a full-stack marketplace on my own: auth, bookings, email, a blog, dashboards and AI features. Here's the stack, what each piece does, and the catch I found with each one.

1. Next.js: frontend and backend in one place
Pages, API routes and server rendering in a single codebase.
Gotcha: when something looks broken, delete the .next build cache before debugging. I lost hours to "bugs" that were just stale builds.

2. Supabase: database, auth and file storage
Postgres, logins and image uploads in one dashboard.
Gotcha: turn on Row Level Security from day one, and never let your frontend tell the backend who the user is. Read it from the session on the server. Also, generate your TypeScript types from the schema with the CLI instead of writing them by hand.

3. Vercel: hosting and deploys
Push to GitHub and it's live in a minute.
Gotcha: the free Hobby plan is for non-commercial use only. Once you take payments, you're expected to move to a paid plan. Read the terms before you launch, not after.

4. Resend: transactional email
OTPs, booking confirmations and notifications.
Gotcha: set up SPF, DKIM and DMARC records on your domain on day one, or your emails will quietly land in spam.

5. Groq: fast, cheap AI inference
Good for features that need near-instant LLM responses.
Gotcha: never trust the model's output shape. Validate and normalise every response before using it. Models occasionally return malformed or unexpected JSON.

6. Sentry: error monitoring
Shows the errors real users hit in real browsers.
Gotcha: expect noise from browser extensions, in-app browsers and bots. Learn to tell those apart from real bugs before you panic.

7. Cloudflare: DNS (and possibly hosting later)
Fast DNS and an option to move hosting if costs grow.
Gotcha: moving a Next.js app off Vercel isn't one click. Features like image optimisation and middleware can behave differently, so test on a staging URL first.

What I'd tell anyone starting out:

  • Free tiers are generous, but each has a limit that will hit you at the worst moment. Know yours before launch.

  • Set up error monitoring and email authentication before you have users, not after.

  • Keep everything in git and commit often. It's your undo button for everything else.

What's in your solo stack? I'm especially curious about cheaper alternatives for email and hosting once you outgrow the free tiers.

5 views

Add a comment

Replies

Be the first to reply

Have a question or a thought to share? Add a comment above to start the conversation.