Deploying AI-Generated Apps
You've built an app with vibe coding—now it's time to share it with the world. This guide walks you through deploying to Vercel, Netlify, and other platforms, even if you've never deployed before.
Choosing a Deployment Platform
Different platforms excel at different things. Here's a quick comparison:
Vercel (Best for Next.js/React)
Free tier, instant deploys, built for modern frameworks. Perfect for Bolt.new projects.
Netlify (Best for static sites)
Generous free tier, great for simple sites, easy custom domains.
Railway (Best for full-stack)
Deploy frontend + backend + database together. Simple pricing.
GitHub Pages (Best for portfolios)
100% free for static sites. Perfect for personal projects.
Method 1: Deploy from Bolt.new (Easiest)
Bolt.new has built-in deployment. This is the fastest way to get online:
- Click "Deploy" in Bolt.new's interface (top right)
- Choose Netlify or Vercel (both work great)
- Sign in with GitHub if you haven't already
- Click "Deploy" and wait 30-60 seconds
- Get your live URL - something like your-app-name.netlify.app
That's it! Your app is live and automatically updates when you make changes in Bolt.new.
Method 2: Deploy to Vercel (Recommended)
Step 1: Export Your Code
If your code is in Bolt.new, download it:
- Click the menu icon (three dots)
- Select "Download project"
- Unzip the downloaded file
Step 2: Push to GitHub
Open your terminal in the project folder:
git init git add . git commit -m "Initial commit" git branch -M main git remote add origin https://github.com/YOUR-USERNAME/YOUR-REPO.git git push -u origin main
Replace YOUR-USERNAME and YOUR-REPO with your GitHub details. Create the repo on GitHub first if you haven't.
Step 3: Connect to Vercel
- Go to vercel.com and sign in with GitHub
- Click "Add New Project"
- Select your repository from the list
- Vercel auto-detects settings (usually perfect as-is)
- Click "Deploy"
In 1-2 minutes, you'll get a live URL like your-app.vercel.app
Step 4: Set Up Auto-Deploy
Vercel automatically redeploys when you push to GitHub. Make a change:
git add . git commit -m "Update homepage text" git push
Your site rebuilds automatically. Check the Vercel dashboard to watch the deploy.
Method 3: Deploy to Netlify
Netlify is great for static sites and simple React apps:
Option A: Drag & Drop (No Git Required)
- Build your project locally:
npm run build - Go to app.netlify.com/drop
- Drag your
buildordistfolder onto the page - Get instant deployment!
Option B: Git Integration (Auto-Deploy)
- Push your code to GitHub (same as Vercel method)
- Go to Netlify and sign in
- Click "Add new site" → "Import an existing project"
- Connect to GitHub and select your repo
- Configure build settings:
- Build command:
npm run build - Publish directory:
distorbuild
- Build command:
- Click "Deploy site"
Adding a Custom Domain
Turn your-app.vercel.app into yourdomain.com:
On Vercel:
- Go to your project settings → "Domains"
- Enter your domain (buy one from Namecheap or Porkbun if you don't have one)
- Follow DNS instructions to point domain to Vercel
- Wait 5-60 minutes for DNS propagation
- SSL certificate auto-configures (free HTTPS!)
On Netlify:
- Go to "Domain settings" in your site dashboard
- Click "Add custom domain"
- Enter your domain
- Update your DNS records (Netlify shows you exactly what to add)
- Enable HTTPS (automatic and free)
Environment Variables & Secrets
If your app uses API keys or secrets, don't commit them to GitHub! Add them to your deployment platform:
Vercel:
- Project settings → "Environment Variables"
- Add each variable (e.g.,
OPENAI_API_KEY) - Choose environments (Production, Preview, Development)
- Redeploy to apply changes
Netlify:
- Site settings → "Environment variables"
- Click "Add a variable"
- Enter key and value
- Redeploy (Netlify auto-redeploys on variable changes)
Troubleshooting Deployment Issues
Build fails with "command not found"
Make sure your package.json has a build script:
"scripts": {
"build": "vite build" // or "next build", etc.
}Site loads but shows 404 on refresh
Single-page apps need redirect rules. Create netlify.toml:
[[redirects]] from = "/*" to = "/index.html" status = 200
Environment variables not working
For client-side variables in Vite, prefix with VITE_. In Next.js, use NEXT_PUBLIC_
Build takes forever or times out
Check for huge dependencies. Run npm install locally to test build time. Optimize imports.
Deployment Checklist
Before going live, make sure you've:
- ✓Tested on mobile (use Chrome DevTools responsive mode)
- ✓Removed console.logs and debug code
- ✓Updated meta tags (title, description, Open Graph)
- ✓Added favicon.ico
- ✓Checked all links work
- ✓Set up analytics (Google Analytics, Plausible, etc.)
- ✓Tested forms and interactive features
Monitoring Your Live App
Once deployed, keep an eye on things:
- Vercel Analytics - Free built-in performance monitoring
- Netlify Analytics - Server-side analytics (paid)
- Sentry - Error tracking and crash reporting
- Plausible - Privacy-friendly analytics alternative
Advanced: Deploy with Databases
If your app needs a database, Railway makes it easy:
- Go to Railway and sign in with GitHub
- Create a new project from your GitHub repo
- Add a PostgreSQL database (one click)
- Railway auto-connects your app to the database
- Use environment variables for the connection string
Railway charges based on usage (~$5/month for small apps).
Free Tier Limits
Know what you get for free:
Vercel
- • 100GB bandwidth/month
- • Unlimited projects
- • Automatic HTTPS
- • 6000 build minutes/month
Netlify
- • 100GB bandwidth/month
- • 300 build minutes/month
- • Unlimited sites
- • Forms (100 submissions/month)
GitHub Pages
- • 1GB storage
- • 100GB bandwidth/month
- • Unlimited public repos
- • Static sites only (no backend)
When to Upgrade
Free tiers work great for side projects and MVPs. Upgrade when you:
- Exceed bandwidth limits (usually means you have real traffic—congrats!)
- Need password protection or team collaboration
- Want advanced analytics and monitoring
- Require SLA/uptime guarantees for business use
For enterprise deployments and white-label solutions, explore Reinventing.AI.
Learning Resources
- Vercel Documentation - Comprehensive deployment guides
- Netlify Docs - Everything about Netlify deployment
- Railway Docs - Full-stack deployment tutorials
