Last updated: December 4, 2026
To deploy a vibe-coded app to production, export the code to GitHub, pick a host that matches what the app does (Vercel or Netlify for front ends, Fly.io, Railway or Render for apps with a server and database), move every API key into environment variables, set up a managed database with backups, connect a custom domain, then add error monitoring and spending limits before you announce anything. Most apps can go from builder preview to production in a day.
AI builders make the first 80% of an app quick. The last 20%, making it safe, stable and affordable for real users, is where most vibe-coded launches stumble. This guide covers that last stretch in plain language.
Before anything else, put the code in a GitHub repository. Most builders, including Lovable, Bolt, v0, Replit and Cursor projects, can export or sync to GitHub.
GitHub gives you version history, so you can undo a bad AI change, and every major host deploys directly from it. It also means you are never locked into one builder.
Commit often with short messages. When an AI edit breaks something, you can see exactly what changed.
Yes, for most commercial apps. It also reduces the risk of leaking secrets.
Copy the project files manually, or rebuild in a tool that can. Avoid launching a business on code you cannot access.
Ask your AI assistant to describe the project: which framework, whether there is a server, which database, which external APIs and which environment variables it expects. Write the answers down.
This decides your host. A React or Next.js front end that talks to Supabase or Firebase can run on Vercel, Netlify or Cloudflare. An app with an Express, FastAPI, Rails or Django server, background jobs or WebSockets needs a host that runs servers, such as Fly.io, Railway or Render.
Our list of hosting platforms for vibe-coded apps explains each option in more detail.
Work that runs after the user’s request, such as sending emails or processing files. It needs a worker process, not just a web page.
Fly.io, Railway and Render can run the front end, server and database together.
AI-written code often puts API keys directly in files, sometimes in code that runs in the browser where anyone can read them. Search the project for keys and move every one into environment variables on your host.
Keys for services like OpenAI, Stripe or your database must only be used on the server. If a key was ever committed to GitHub or exposed in the browser, rotate it in the provider’s dashboard.
Check your database rules too. Supabase row level security and Firebase security rules must be turned on and tested, or any user may read everyone’s data.
Open your live site, view the page source and network requests, and search for the key. GitHub also alerts on many leaked secrets.
Use it to help, but verify. Ask a developer to review authentication and data access before launch if you handle personal or payment data.
Preview databases inside builders are not always meant for production. Use a managed database with automatic backups: Postgres on Railway, Render or Fly.io, or a hosted service like Supabase or Neon.
Keep separate databases for development and production so testing never touches real customer data.
Test a restore from backup once before launch. A backup you have never restored is a hope, not a plan.
Postgres is the safe default for most apps and works with almost every host.
Export from the preview database and import into production, or start production clean if the preview data was test data.
Connect the GitHub repository to your chosen host and add the environment variables. Most hosts detect the framework and build automatically. On Fly.io, the fly launch command generates a configuration for you; on Railway and Render, you connect the repo in the dashboard.
Add your custom domain in the host’s settings and update DNS records at your domain registrar. HTTPS certificates are issued automatically by most platforms.
Click through every key flow on the live domain: sign up, log in, pay, and any action that writes data.
Often minutes, sometimes a few hours. Lower the record’s TTL beforehand if you are switching an existing domain.
Either works. Pick one and redirect the other to it.
You need to know when something breaks before users tell you. Add an error tracker such as Sentry and an uptime monitor that checks your site every minute.
Turn on logs in your host’s dashboard and learn where to find them. When an AI-written function fails, the log usually explains why.
Set up alerts to email or Slack for downtime and error spikes.
Free tiers of most monitoring tools are enough for a new app.
Uptime of the home page, sign-up and checkout, and server error rates.
Usage-based hosting and AI APIs are cheap at rest and can spike under load or abuse. Set spending limits on your host and on every AI provider, and add rate limits to endpoints that call paid APIs.
Require sign-in before users can trigger expensive actions, and cache results where you can.
Check your bill a day after launch and again a week later, and adjust limits as you learn your real usage.
Unprotected AI endpoints called by bots or scripts. Rate limits and authentication prevent most of it.
Use the host’s pricing calculator with realistic traffic, then double it for launch week.
Keep at least two environments: production for real users and a preview or staging environment for testing changes. Most hosts create preview deployments for each branch automatically.
Give each environment its own database and API keys. Test changes from your AI assistant in preview before merging them to production.
This one habit prevents most launch-week disasters, such as an AI edit that deletes data or breaks sign-up.
Preview deploys are enough for most small apps.
Use anonymized or test data rather than real customer records.
Transactional email needs a proper provider such as Resend, Postmark or SendGrid, with your domain verified so messages do not land in spam.
Payments should go through Stripe or a similar provider in live mode, with webhooks pointed at your production URL and tested end to end.
Use a proven authentication service, such as Supabase Auth, Clerk or Firebase Authentication, rather than custom login code an AI wrote from scratch.
Usually missing SPF, DKIM or DMARC records on your domain.
Run one real low-value transaction, then refund it, to confirm the whole flow.
Before you announce, load test the key pages, cache your landing page and make sure the database can handle a burst of sign-ups. Our guide on keeping your launch site up on Product Hunt day covers this in detail.
Write a short rollback plan: how to redeploy the previous version and who will do it.
Then focus on getting users. See how to market a vibe-coded app and how to launch on Product Hunt.
Avoid it. Launch early in the week when you can respond quickly to issues.
It helps. Many hosts give preview deploys for every branch, which is enough for small teams.
Vibe coding makes changes fast, so build a simple routine: work on a branch, check the preview, then merge to deploy. Keep commits small so problems are easy to trace.
Ask your AI assistant to write basic tests for critical flows such as sign-up and payment, and run them before each deploy.
Review your hosting, database and AI bills monthly, and upgrade plans only when real usage requires it.
As often as you like, as long as each change is small and tested.
When you handle sensitive data, revenue depends on the app, or changes start breaking things often.
We took sample apps from several AI builders through each step on Vercel, Netlify, Fly.io, Railway and Render, and reviewed security guidance from Supabase, Firebase and the hosts. Read how we research and rank for our method.
Read more about how we research and rank.
Yes, with platforms like Vercel, Netlify, Railway and Render. Get a developer to review security if you store personal or payment data.
Front ends fit Vercel, Netlify or Cloudflare. Apps with a server and database fit Fly.io, Railway or Render.
It can be, after you check secrets, authentication and database access rules, and add monitoring.
Small apps often run for a few dollars to a few tens of dollars a month. AI API usage is usually the bigger cost.
Leaving API keys in browser code and leaving database access open. Fix both before launch.
It is strongly recommended. It gives you history, rollback and easy deploys to every major host.
Deploying a vibe-coded app well is mostly about discipline: code in GitHub, the right host for the app’s shape, secrets in environment variables, a real database with backups, and monitoring and spending limits in place.
Do those steps once and every future change ships safely with a push.
Then turn your attention to growth with our list of marketing tools for vibe coders.