Deploy saas-multi-tenant-base
Deploy and Host saas-multi-tenant-base with Railway
Just deployed
/var/lib/postgresql/data
Just deployed
Redis
Just deployed
/bitnami
Just deployed
π Complete Setup Guide - Next.js + FastAPI SaaS Template
Deploy your complete SaaS application to Railway in minutes with full feature configuration.
π― What You Get
- β Next.js 14 Frontend with App Router
- β FastAPI Backend with async/await
- β PostgreSQL Database with migrations
- β Multi-tenant Organization system
- β Authentication with JWT + OAuth
- β Billing with Stripe integration
- β Security with reCAPTCHA v3
- β Email notifications
- β File uploads with AWS S3
- β Analytics with Google Analytics
- β Monitoring with Sentry
β‘ Quick Start (5 Minutes)
1. Deploy Template
- Click "Deploy Now" above
- Connect your GitHub account
- Choose repository name
- Click "Deploy"
2. Core Configuration (Required)
Only these variables are required for basic functionality:
Backend Service:
SECRET_KEY="${{secret(32)}}" # β
Auto-generated
DATABASE_URL="${{Postgres.DATABASE_URL}}" # β
Auto-configured
ALLOWED_ORIGINS="https://${{frontend.RAILWAY_STATIC_URL}}" # β
Auto-configured
Frontend Service:
NODE_ENV="production" # β
Pre-configured
NEXT_PUBLIC_API_URL="https://${{backend.RAILWAY_STATIC_URL}}" # β
Auto-configured
3. Test Your Application
- Frontend:
https://your-frontend.railway.app - Backend API:
https://your-backend.railway.app/docs - Health Check:
https://your-backend.railway.app/health
π Your SaaS is now live with basic functionality!
π§ Feature Configuration (Optional)
Enable additional features by configuring external services: