Deployment Overview¶
Atlas ERP is designed to be cloud-native and can be deployed to various platforms.
Architecture for Deployment¶
A typical production deployment of Atlas ERP consists of the following components:
- Frontend (Web App): A Next.js 15 application. Best deployed to platforms like Vercel or Cloudflare Pages.
- Backend (API): A NestJS 11 application. Best deployed to platforms like Render, Railway, DigitalOcean, or AWS App Runner.
- Database: PostgreSQL 17 database. Recommended providers: Neon, Supabase, or AWS RDS.
- Cache/Queue: Redis 8. Recommended providers: Upstash or AWS ElastiCache.
Recommended Free Tier Stack¶
If you want to deploy Atlas ERP for free (for evaluation or small projects), you can use the following stack:
- Frontend: Vercel (Free Hobby Plan)
- Backend: Render (Free Web Service) or Railway
- Database: Neon (Free Tier Postgres)
- Redis: Upstash (Free Tier Serverless Redis)
Detailed Deployment Guides¶
For detailed, step-by-step instructions on deploying to specific platforms, please refer to the dedicated deployment guides in the Deployment section:
- Deploying to Vercel
- Deploying to Cloudflare Pages
- Deploying to Render
- Setting up Neon Database
- Setting up Upstash Redis
General Pre-Deployment Checklist¶
Before deploying, ensure you have:
- Created production accounts for your Database and Redis.
- Created a production environment for your Email provider (e.g., Brevo).
- Configured production OAuth credentials (if using Google OAuth).
- Generated secure, random strings for
BETTER_AUTH_SECRET,JWT_SECRET, andJWT_REFRESH_SECRET. - Set
NODE_ENV=productionin your server environments. - Verified that
TRUSTED_ORIGINSincludes your production frontend URL.