Deployment Guide

Deploy your app to production with popular hosting platforms.

Pre-Deployment Checklist

Environment variables configured (.env)
Stripe webhooks configured for production (optional)
Auth0 application configured with production URLs (optional)
Neon database setup (optional)
Custom domain ready (optional)
Build command tested locally

Deploy to Vercel (Recommended)

Fast, global CDN with automatic deployments from Git

Option 1: Vercel CLI

# Install Vercel CLI
pnpm i -g vercel
# Deploy your app
vercel
# Follow the prompts to configure your deployment

Option 2: GitHub Integration

  1. Push your code to GitHub
  2. Go to vercel.com and sign up
  3. Click "New Project" and import your GitHub repository
  4. Configure environment variables in the Vercel dashboard
  5. Deploy automatically on every Git push

Deploy to Netlify

Popular JAMstack platform with great developer experience

Automatic Git Deployments

  1. Push your code to GitHub, GitLab, or Bitbucket
  2. Go to netlify.com and sign up
  3. Click "New site from Git" and connect your repository
  4. Set build command: pnpm run build
  5. Set publish directory: dist
  6. Add environment variables in Site settings → Environment variables

Manual Deploy

# Build your app locally
pnpm run build
# Install Netlify CLI
pnpm install -g netlify-cli
# Deploy
netlify deploy --prod --dir=dist

Other Deployment Options

GitHub Pages

Free hosting for public repositories

Add gh-pages package and configure deployment workflow

Firebase Hosting

Google's hosting platform with global CDN

Use Firebase CLI: firebase deploy

DigitalOcean App Platform

Simple cloud hosting with automatic scaling

Connect GitHub repo and deploy with one click

Post-Deployment Configuration

Update Service URLs

  • Add your production URL to Auth0 allowed callback URLs
  • Update Stripe webhook endpoints with your production domain

Set Up Custom Domain (Optional)

  1. Purchase domain from registrar (Vercel, Namecheap, GoDaddy, etc.)
  2. Add custom domain in your hosting platform settings
  3. Update DNS records to point to your hosting platform
  4. Enable SSL certificate (usually automatic)

Monitor Your Application

  • Set up error tracking with Sentry or LogRocket
  • Monitor performance with your hosting platform's analytics
  • Set up uptime monitoring with UptimeRobot or Pingdom

Next Steps

Your buildfast app is deployed! Now focus on growing your business:

• Set up Google Analytics
• Add email marketing integration
• Set up customer support chat
• Set up customer feedback tools
• Monitor and optimize performance