Deployment
Deploy your SaaS application to production.
Deployment Options
Vercel
- Zero configuration
- Serverless functions
- Edge network with global CDN
- Built-in analytics, logging, and monitoring
Netlify
- Drag-and-drop deployment
- Serverless functions
- Branch previews and split testing
- Edge network with global CDN
Railway
- Database hosting
- One-click deployments from GitHub
- Automatic HTTPS certificates
- Built-in monitoring and logs
AWS Amplify
- AWS integration
- CI/CD pipeline
- Preview environments
- Built-in authentication and storage
And many more...
- Cloudflare
- DigitalOcean
- Azure
- Google Cloud
- And many more...
Production Checklist
Important Setup
- Push your code to a GitHub repository
- Set up all production environment variables
- Use your production database URL, Stripe live keys, webhook secret, and production domain for
NEXT_PUBLIC_APP_URL
NODE_ENV=production
.
Authentication
- Configure OAuth redirect URIs for production
- Generate a new
AUTH_SECRET
for production
Payments
- Switch to Stripe live mode
- Update webhook endpoints to your production URL
- Test the payment flow in production
SEO and Performance
- Configure proper meta tags and Open Graph images
- Submit your sitemap to search engines
- Run Lighthouse tests to identify performance issues
- Optimize images and assets