Vibe coding to production: the checklist before you launch

You built it in Lovable, Replit, Bolt, v0, or Emergent, and the demo works. Here's exactly what to check before real users touch it, and what usually needs rebuilding.

11 min read ·
In this article

Short answer

Before taking a vibe-coded prototype (Lovable, Replit, Bolt, v0, Emergent) to production, check six things: real authentication, not a demo login, wired payments, webhooks, Supabase Row Level Security policies if applicable, database constraints, data validation, deploy with rollback, error monitoring, and cleanup of duplicate or dead code. Most gaps are invisible in demos: one test user never triggers them.

Key takeaways

  • AI app builders (Lovable, Replit, Bolt, v0, Emergent) ship a working demo. The UI is usually fine. What's usually missing only shows up once more than one real user touches the app.
  • The most common gap in Lovable and Bolt builds on Supabase is Row Level Security disabled or misconfigured, letting any authenticated user read or write data that isn't theirs.
  • A working demo login is not the same as real authentication. Check for password reset, account recovery, and whether sessions actually expire.
  • A checkout button that looks right in a demo doesn't mean Stripe webhooks are handled. Test what happens when a payment fails or a subscription renews.
  • None of this requires a rewrite. Most prototypes keep their UI and need targeted fixes to auth, payments, data integrity, and deploy safety.

You shipped the prompt, watched Lovable or Replit or Bolt spit out a working app, and it does exactly what you asked. Login screen, dashboard, the core flow. It looks done.

The catch: "looks done" and "ready for someone who isn't you" are different states, and the gap between them is invisible from inside the tool. A demo has one user: you. Production has strangers, at odd hours, doing things you didn't think to test.

Why the demo doesn't catch these

An AI app builder is optimizing for one outcome: you, typing a prompt, seeing something that works. It has no reason to build a password reset flow you never tested, a webhook handler for a payment failure you never triggered, or a database constraint that only matters once two people edit the same record at the same time.

None of that is a flaw in the tool. It's just not what a single-user demo needs. The six checks below are what a multi-user, real-money, real-data product needs instead.

The six things to check

1. Real authentication, not a demo login

A login screen that accepts a password isn't the same as authentication. Check whether sessions actually expire, whether password reset exists, and whether account recovery works if someone loses access. If the answer to any of those is "I'm not sure," that's the gap.

2. Payments that are actually wired, not just styled

A checkout button that looks right in a demo doesn't mean Stripe (or whichever provider) is fully connected. Test what happens on a failed payment, a subscription renewal, and a refund request. If you've never triggered a webhook on purpose, you don't know if it's handled.

3. Supabase Row Level Security, if that's your backend

This is the one we see most often, because Supabase is the default backend behind a large share of Lovable and Bolt builds. Row Level Security policies decide who can read and write which rows in a table. Disabled or misconfigured RLS means any authenticated user can potentially query data that isn't theirs. It's invisible while you're the only person testing the app, and it's usually a fast fix once someone checks for it specifically.

4. Data integrity: constraints, not trust

Does your database stop bad data, or does it trust the frontend to always send the right thing? Foreign keys, validation rules, and constraints at the schema level catch what a UI bug or a malicious request would otherwise let through.

5. Safe deploys: rollback and monitoring

When you push a change, do you find out something broke because a user complains, or because a monitor told you first? A rollback plan and basic error monitoring turn a bad deploy from a scramble into a five-minute fix.

6. Cleanup: duplicate components, dead code

AI builders iterate toward a working result, which usually means duplicate components and dead code pile up along the way. None of it breaks anything today, but it makes the codebase harder for anyone, including you, to maintain six months from now.

Key Insight

None of these six checks require rewriting the app you already built. The UI and core flows an AI tool generates are frequently fine to keep. What typically needs work is underneath it, and it's usually a targeted fix, not a rebuild from scratch.

What to do with what you find

If you run through the six checks and everything holds up, you're in a good position, ship it. If something doesn't, the next step depends on what you find:

  • Small, specific gaps (a missing RLS policy, an unhandled webhook): fixable by you or your existing developer in a few days, once you know exactly what to look for.

  • Several gaps across auth, payments, and data: worth a second set of eyes before you decide whether to fix it piece by piece or scope a focused rebuild.

  • You're not sure how to check any of this: that's the actual signal, not the number of bugs you can count. A free, manually-reviewed security check tells you which of the six apply before you spend anything on a fix.

We wrote about why this gap exists in the first place in AI coding tools build MVPs, not businesses. This article is the practical follow-up: what to actually check, in order, before you launch.

App Store review: the pre-submission checklist

The six checks above get an app ready for real users. If the app is going to the App Store, Apple runs a second check before anyone can download it. A reviewer opens the app, taps through it, and compares it with the App Review Guidelines. AI-built apps tend to trip on the same four guidelines. Run this list before the first submission, while a fix is still quick, not after a rejection, when each fix costs a full resubmission cycle.

Guideline 2.1: App Completeness

Apple asks for a final version, not a work in progress. The reviewer checks that every screen is finished, that the store listing details are complete, that every link works, and that the app runs without crashing on a real device. If the app has a login, the reviewer needs a working demo account, with the back end switched on, so they can get in and see the full app.

The pattern in AI-built apps: the builder leaves placeholder text, sample data, "coming soon" screens, and buttons that do nothing, because the demo only needed the main flow to work. The app then fails on a screen the founder never opened.

Before you submit:

  • Open every screen and finish or remove anything that is placeholder text, sample content, or a promise of a feature that is not there yet.

  • Install the build on a real phone and test the full flow there, not only in the builder preview: sign up, log in, and the main task the app exists for.

  • If the app has a login, put a working demo account in the review notes, and make sure your back end stays running while the app is in review.

  • Tap every link inside the app and in the store listing, and fix any that lead to an empty or unfinished page.

Guideline 2.5.2: Software Requirements

Apple asks for an app that is self-contained: everything it needs ships inside the app itself. An app may not download, install, or run code that adds features or changes how the app works after review. The app the reviewer approves has to be the app users get.

The pattern in AI-built apps: the tool builds the app so the real screens and logic load from a server each time it opens, or so features can be swapped in later without a new release. To a reviewer, that reads as an app that can change into something different from the one they checked.

Before you submit:

  • Ship the features inside the app. Loading your own data, such as articles, prices, or account details, is normal app behaviour. Loading new code that changes what the app can do is the problem.

  • Turn off any tool or setting that updates the app's features outside the normal App Store release process.

  • If part of the app only appears after it fetches code at runtime, rebuild that part into the app itself before submitting.

Guideline 4.2: Minimum Functionality

Apple asks for an app that does more than a website in a frame. The reviewer checks for features, content, and screens that lift the app beyond a repackaged website, and for an app that is useful enough to belong on the store. Apple also rejects apps made from a commercial template or app generation service unless the provider of the app's content submits the app directly.

The pattern in AI-built apps: the fastest route from a builder to a phone is often a thin wrapper around the mobile website, so the app adds nothing the website does not already do. Submitted as it comes out of the tool, it can also read as template output rather than one business's own app.

Before you submit:

  • Give the app at least one job that makes sense on a phone and not just in a browser, such as notifications, offline access, or using the camera. Make sure that job works in the build you submit.

  • Submit the app yourself, under your own developer account, as the business that provides its content, not through the builder's account.

  • Remove screens that are only a list of links out to web pages.

  • Use the review notes to say, in plain words, what the app does that your website does not.

Guideline 4.3: Spam

Apple treats near-identical apps as spam. The reviewer checks two things. The first is that you have not made several copies of the same app under different names, one for each city, brand, or niche. The second is that the app is not a copy of something already widely available, with only the name and colours changed.

The pattern in AI-built apps: because a builder can produce an app in an afternoon, the temptation is to prompt the same template five times and submit five apps. Each one is cheap to make, and together they are exactly what this guideline rejects.

Before you submit:

  • Submit one app, and put the variations inside it, so a user picks their city, brand, or team inside the single app.

  • If you have already drafted near-copies, pick the strongest one, fold the rest into it, and submit only that one.

  • Make the difference easy to see: the name, description, and screenshots should show what this app does that a similar app does not, not just a new colour scheme.

None of these four checks asks for a rebuild. Each one is a short list of things to remove, finish, or fold together, and every one of them is cheaper to fix before the first submission than after the first rejection.

Not sure what's actually exposed?

Send the URL. A senior engineer checks it manually and replies within 2 business days. Free, no sales call.

Ask an AI

Get an instant summary of this post from your preferred AI assistant.

Frequently asked questions

Straight answers to what buyers ask before they scope. Still stuck? .

If you're technical enough to audit your own auth, payment webhooks, and Supabase RLS policies, yes. Most founders who built with Lovable aren't set up to catch what's missing precisely because it doesn't show up anywhere in the tool's own interface. A second set of eyes, yours or someone else's, is worth it before real users arrive.
Probably not without checking a few things first: whether sessions actually expire, whether rate limiting exists anywhere, and whether error monitoring is set up so you find out about a broken deploy before your users do. None of that is visible in the Replit preview, because a single developer testing their own app never triggers the failure modes real traffic does.
Supabase Row Level Security, when the backend is Supabase, which is common behind Lovable and Bolt builds. RLS disabled or misconfigured on a table means any authenticated user can potentially query data belonging to another user. It's invisible while you're the only person testing the app, and it's usually a fast fix once someone actually looks for it.
No. The UI and basic flows an AI builder generates are frequently fine to keep. What typically needs work is underneath the UI: authentication, payment handling, data validation, and deploy safety. A full rewrite is rarely necessary and usually more expensive and riskier than a targeted fix.
Run through the six checks in this article: real auth, wired payments, Supabase RLS if applicable, data integrity constraints, safe deploys, and code cleanup. If you can't confidently answer all six, or don't know how to check them, that's the signal it needs a second look before launch, not necessarily a rebuild.