How to Launch Your Vibe-Coded App (2026 Guide)
You built an app by chatting with Lovable, Bolt, Cursor or v0. It works perfectly in the preview. Now you want real people to use it, on a real domain, maybe even paying you.
That last step is where most vibe-coded apps get stuck. Login sends people to localhost. Refreshing a page shows a 404. Payments go through, but your app never unlocks anything. And there might be a secret key sitting in your code where anyone can grab it.
This guide is the full launch checklist in plain English, built around a real example app with eight common issues, plus copy-paste fixes for each one.
Here’s the quick version of how to launch a vibe coded app:
| Step | What to do | Sign it’s broken |
|---|---|---|
| 1. Pick a host | Built-in publish, or GitHub to Vercel or Netlify | App only lives in the builder preview |
| 2. Env vars | Move keys out of code and into the host’s settings | Blank page or “undefined” errors after deploy |
| 3. Supabase RLS | Turn on Row Level Security and add policies | Anyone can read your data, or everything comes back empty |
| 4. OAuth redirects | Set your live URL in Supabase Auth URL Configuration | Login bounces users to localhost |
| 5. Stripe webhooks | Point the webhook at your live URL and verify the signature | Payment succeeds but nothing unlocks |
| 6. SPA routing | Add a rewrite to index.html | Refreshing any page gives a 404 |
| 7. Domain and SSL | Connect your domain and wait for the padlock | “Not secure” warning or the old site shows |
| 8. Test | Run through the app like a brand-new user | Bugs your first users find for you |
Short on time? Launch Mango moves your Lovable, Bolt, v0 or Cursor app off the builder and onto your own GitHub, Supabase and Vercel or Netlify accounts, so you’re not locked in, for $79 one-off. It’s usually live at a real URL in 1 to 2 days, and you get your money back if it doesn’t end up live on your accounts.
Meet Mango Notes: A Real Example of What Breaks
To make this practical, let’s use a real example. Mango Notes is a small practice notes app built the Lovable way: React and Vite on the front, Supabase for login and data, and a Stripe “Upgrade” button. It looked finished. Under the hood, it had eight launch issues:

- Supabase service-role key hardcoded in browser code, which gives anyone full database access.
- No environment variable setup and no .gitignore.
- OAuth redirect hardcoded to localhost:5173.
- 404 on refresh when reloading the /dashboard page.
- Stripe webhook was an unsigned stub with no server to run on.
- Row Level Security disabled on the notes table.
- The “Upgrade” link pointed to undefined.
- No error handling, so failed data loads showed a silent empty list.
None of these show up in the builder preview. That’s normal, not a sign you did something wrong. Production just needs a few extra settings. Let’s fix each one.
Step 1: Pick a Host and Get Your Code on GitHub
First, decide where your app will live. You have two main paths:

- Built-in publish: Lovable publishes to a free yourapp.lovable.app address and runs a quick security scan when you publish. Bolt publishes to a free .bolt.host address on all plans. Custom domains need a paid plan on both.
- Your own host: sync the project to GitHub, then import the repo into Vercel or Netlify. Every push to GitHub redeploys automatically.
A quick heads-up on free tiers: Vercel’s Hobby plan is free but limited to personal, non-commercial use, so if your app takes payments, budget for Vercel Pro. Netlify’s Free plan is $0 with a monthly usage credit limit, which is plenty for most early apps.
For a typical Vite app, the build settings are simple: build command npm run build and output folder dist. On Netlify you can save them in a netlify.toml file:
[build]
command = "npm run build"
publish = "dist"
Not sure which route fits you? I compared them all in my guide to the ways to get your Lovable or Bolt app live.
Step 2: Move Your Keys Into Environment Variables
Environment variables (“env vars”) are settings your app reads at build time, like your Supabase URL and keys. In the builder they just work. On a new host, they don’t exist until you add them, which is why so many deploys show a blank page.

Here’s the rule that matters most: in a Vite app, anything starting with VITE_ gets bundled into the browser code, where anyone can read it. So only public values get that prefix. Secrets get no prefix and are only used in server functions.
# Public: safe in the browser
VITE_SUPABASE_URL=https://your-project.supabase.co
VITE_SUPABASE_ANON_KEY=your-anon-public-key
VITE_STRIPE_CHECKOUT_URL=https://buy.stripe.com/your-link
# Server only: never prefix these with VITE_
STRIPE_SECRET_KEY=sk_live_...
STRIPE_WEBHOOK_SECRET=whsec_...
SUPABASE_SERVICE_ROLE_KEY=...
- Copy every key out of your code into a
.env.examplefile with placeholder values (like the one above). - Add
.envand*.localto your.gitignoreso real keys never hit GitHub. - Paste the real values into your host’s Environment variables settings on Vercel or Netlify.
- Redeploy. Env vars are read at build time, so changes only show up after a fresh build.
In Mango Notes, the Supabase service-role key was pasted straight into the front end. That key skips every security rule. If that happens to you, moving it isn’t enough: rotate (regenerate) the key in Supabase, because the old one is still in your git history. Newer Supabase projects call these the publishable and secret keys, but the rule is the same: only the public one goes in the browser.
Step 3: Turn On Supabase Row Level Security (RLS)
This is the big one for vibe-coded app security. Your public Supabase key is visible in the browser by design. What keeps your data safe is Row Level Security: rules in your database that decide who can see and change which rows.

With RLS off, anyone who has your public key can read your whole table. Mango Notes had it off. The fix is to enable RLS and add a policy for each action, so users only touch their own notes. Open the SQL Editor in Supabase and run something like this (swap in your table and column names):
alter table notes enable row level security;
create policy "Users read own notes"
on notes for select to authenticated
using ((select auth.uid()) = user_id);
create policy "Users add own notes"
on notes for insert to authenticated
with check ((select auth.uid()) = user_id);
create policy "Users update own notes"
on notes for update to authenticated
using ((select auth.uid()) = user_id);
create policy "Users delete own notes"
on notes for delete to authenticated
using ((select auth.uid()) = user_id);
One thing to expect: once RLS is on, nothing comes back until a policy allows it. If your app suddenly shows empty lists, that usually means a policy is missing, not that your data is gone. Supabase’s Row Level Security guide has more policy examples.
Not confident your tables are locked down? Launch Mango ‘s Own and Secure tier ($199) checks your Supabase RLS and database permissions, sign-in, exposed API keys and Stripe, and sends a security report.
Step 4: Fix OAuth Redirects So Login Stops Going to Localhost
Classic launch-day bug: Google or GitHub sign-in works on your laptop, then sends real users to localhost. It happens because the redirect address is still set to your local dev URL, either in your code or in Supabase.

Fix it in two places. In your code, use the current address instead of a hardcoded one:
await supabase.auth.signInWithOAuth({
provider: 'github',
options: { redirectTo: window.location.origin },
})
Then in your Supabase dashboard, go to Authentication, URL Configuration:
- Site URL: change it from localhost to your live address, like
https://yourapp.com. This is also used for email confirmations and password resets. - Redirect URLs: add
https://yourapp.com/**, plushttp://localhost:5173/**if you still want login to work while developing. - Provider settings: if you use your own Google or GitHub OAuth app, check its callback URL too.
If you publish with Lovable on its built-in backend (Lovable Cloud), Lovable adds your custom domain to the auth redirect URLs automatically once the domain is live. If your app uses your own Supabase project, you add it yourself as above.
Step 5: Set Up Stripe Webhooks the Right Way
A webhook is how Stripe tells your app “this person paid.” Without a working one, customers pay and nothing unlocks. In Mango Notes, the webhook was a stub with no signature check and nowhere to run once deployed.

Since Vite apps are front-end only, the webhook needs a small server function, like a Netlify Function or a Vercel Function. Here’s a simple Netlify version using the official Stripe library:
// netlify/functions/stripe-webhook.mjs
import Stripe from 'stripe'
const stripe = new Stripe(process.env.STRIPE_SECRET_KEY)
export default async (req) => {
const body = await req.text() // raw body, don't parse it first
const sig = req.headers.get('stripe-signature')
let event
try {
event = stripe.webhooks.constructEvent(
body, sig, process.env.STRIPE_WEBHOOK_SECRET
)
} catch (err) {
return new Response('Bad signature', { status: 400 })
}
if (event.type === 'checkout.session.completed') {
// unlock the paid feature for this customer
}
return Response.json({ received: true })
}
- Add the endpoint in Stripe using your live URL (for this example,
https://yourapp.com/.netlify/functions/stripe-webhook). Live-mode endpoints must use HTTPS. - Copy the signing secret (it starts with
whsec_) into your host’s env vars asSTRIPE_WEBHOOK_SECRET. The Stripe CLI secret and the Dashboard secret are different, so don’t mix them up. - Use the raw body. If your code parses the JSON before verifying, the signature check fails.
- Return a 200 quickly, and only listen for the events you actually need.
Stripe’s webhook troubleshooting guide covers the “signature verification failed” error in detail.
Step 6: Fix the 404 When You Refresh a Page
Your app loads fine on the homepage, but refreshing /dashboard gives a 404. That’s because most vibe-coded apps are single-page apps (SPAs): there’s really only one page, index.html, and your app handles the rest. The host doesn’t know that until you tell it.

On Vercel, add a vercel.json file to the root of your project:
{
"rewrites": [
{ "source": "/(.*)", "destination": "/index.html" }
]
}
On Netlify, add a file called _redirects inside your public folder with this one line:
/* /index.html 200
Redeploy and refresh a deep page to confirm. If you have other Netlify redirect rules, keep this one last.
Step 7: Connect Your Custom Domain and SSL
A custom domain like yourapp.com makes your app look legit, and the padlock (SSL) keeps browsers from showing scary “Not secure” warnings.

- On Lovable: go to Project, Settings, Domains (paid plan needed). You can buy a domain there or connect one you own by adding the A and TXT records Lovable shows you. Lovable issues the SSL certificate for you.
- On Vercel or Netlify: add the domain in your project’s domain settings and copy the DNS records into your registrar. Both issue the SSL certificate automatically.
- Set up both versions: make sure
yourapp.comandwww.yourapp.comboth work, with one redirecting to the other.
DNS changes can take up to 72 hours, though most are live within a few hours. If the old site still shows, look for leftover records from your previous host. Once the domain is live, add it to your Supabase redirect URLs (Step 4) and your Stripe webhook (Step 5).
Step 8: Test Like a Stranger Before You Share the Link
You know your app too well to test it fairly. Open an incognito window and pretend you’ve never seen it before.

- Sign up with a fresh email, log out and log back in.
- Refresh every page, including deep links.
- Make a test payment in Stripe test mode and confirm the webhook shows as delivered in Stripe.
- Click every button and link. In Mango Notes, the “Upgrade” link pointed to undefined because its checkout URL env var was never set. The fix was to hide the button until
VITE_STRIPE_CHECKOUT_URLexists. - Break things on purpose: go offline or log out mid-session. Mango Notes showed an empty list when loading failed; the fix was to show a clear error message instead.
- Check it on your phone.
When all of that passes, your vibe-coded app is in production. Nice work.
DIY vs Done-for-You: Which Should You Pick?
Everything above is doable on your own, and you’ll learn a lot. The trade-off is time: a first launch can take an afternoon to a weekend, mostly spent hunting for the one wrong setting.

| DIY | Launch Mango | |
|---|---|---|
| Cost | Free hosting tiers (Vercel Hobby is non-commercial only) | $79 Own Your App or $199 Own and Secure, one-off |
| Who owns it | You | You: your GitHub, Supabase and Vercel or Netlify accounts |
| Time | An afternoon to a weekend for a first launch | Usually 1 to 2 days |
| Env vars, RLS, OAuth, Stripe webhooks, SSL | You set up and debug each one | Env vars moved in Own Your App; RLS, OAuth and Stripe checked in Own and Secure |
| Custom domain, auth, Stripe checkout | You set them up | Included in Own and Secure |
| Security | Your own review | Full security pass and report in Own and Secure |
| If it fails | You keep debugging | Money back if it doesn’t end up live on your accounts |
| Best for | Learners and tinkerers with time to spare | Founders who’d rather spend the time on customers |
With Launch Mango, the point isn’t pressing deploy (the builders already do that). It’s ownership: they move your code, database and env vars off Lovable or Bolt onto your own GitHub, Supabase and Vercel or Netlify accounts and send a plain-English handover report. Add Own and Secure if strangers will sign in or pay, and they’ll lock down sign-in, RLS, API keys and Stripe too.
Go DIY if you enjoy the technical side and have time. Go done-for-you if you’d rather launch this week and move on to marketing.
FAQ
Quick answers to the most common launch questions.

How do I deploy a vibe-coded app for free?
Use the built-in publish in Lovable or Bolt for a free subdomain, or connect your GitHub repo to Netlify’s Free plan or Vercel’s Hobby plan. You’ll still pay for a custom domain, and Vercel Hobby is for non-commercial projects only.
Is my vibe-coded app secure?
Not automatically. At minimum, make sure Supabase RLS is on for every table, no secret or service-role keys are in your front-end code, and your Stripe webhook verifies its signature.
Why does my app work in Lovable but break after deploy?
Usually it’s missing env vars, redirect URLs still pointing at localhost or the preview URL, or a missing SPA rewrite. Steps 2, 4 and 6 above cover all three.
Do I need a custom domain to launch?
No. A free lovable.app, bolt.host, vercel.app or netlify.app address works fine for testing and early users. A custom domain just looks more professional and is easier to remember.
How long does it take to launch a vibe-coded app?
If everything goes smoothly, an hour or two. For a first launch with a few of the issues above, plan on an afternoon or a weekend. A done-for-you service like Launch Mango usually has it live on your own accounts in 1 to 2 days.
What if I just need a simple website, not an app?
If there’s no login, database or payments, an AI website builder may be simpler. I covered one in my Lindo AI review.
Conclusion
Launching a vibe-coded app comes down to eight steps: pick a host, move your keys into env vars, turn on Supabase RLS, fix OAuth redirects, set up signed Stripe webhooks, add the SPA rewrite, connect your domain, and test like a stranger. Mango Notes had all eight problems at once, and every one had a simple fix.

If you like learning by doing, bookmark this checklist and work through it one step at a time. If you’d rather skip the config files and get back to building, let Launch Mango move your app onto your own accounts for $79 (or $199 for Own and Secure, with sign-in, RLS, API keys, Stripe and a custom domain handled), with your money back if it doesn’t end up live on your accounts. Not sure what you need? Try their free 2-minute app check.
Either way, remember this: working in the preview is step one. Working for strangers on the internet is the real launch.
