Server Requirements
PostgreSQL Database
- PostgreSQL 14 or higher
postgresql-clienttools (pg_dump,psql) for migrations- Connection pooling support
Pre-Deployment Checklist
Before deploying to production, ensure you have:- Production database created and accessible
- All required environment variables configured
- Database connection string with SSL enabled
- HTTPS configured for your domain
- Email service configured (Resend API key)
- Storage configured (local or S3-compatible)
- Process manager installed (PM2, systemd, or Docker)
Build Process
The API uses TypeScript and must be compiled before deployment:- Installs all dependencies
- Compiles TypeScript to JavaScript in the
dist/directory
dist/index.js.
Environment Variables
Refer to the Production Deployment guide for required environment variables.Database Setup
Refer to the Database Migrations guide for setting up your production database.Next Steps
Database Migrations
Learn how to set up and migrate your database
Production Deployment
Configure production environment and security