Render
Render offers free tier hosting for VeloxTS applications.
Quick Deploy
Section titled “Quick Deploy”- Connect Render to your GitHub repository
- Select “Web Service”
- Configure build and start commands
Configuration
Section titled “Configuration”Build Command:
pnpm install && pnpm build && pnpm prisma generateStart Command:
pnpm prisma migrate deploy && node dist/index.jsEnvironment Variables
Section titled “Environment Variables”Set in Render dashboard:
NODE_ENV=productionDATABASE_URL=your-postgres-urlJWT_SECRET=your-secretJWT_REFRESH_SECRET=your-refresh-secretAdd PostgreSQL
Section titled “Add PostgreSQL”- Create a new PostgreSQL database in Render
- Copy the Internal Database URL
- Set as
DATABASE_URLenvironment variable
Health Check
Section titled “Health Check”Configure health check path: /api/health
render.yaml
Section titled “render.yaml”For Infrastructure as Code:
services: - type: web name: my-velox-app env: node buildCommand: pnpm install && pnpm build && pnpm prisma generate startCommand: pnpm prisma migrate deploy && node dist/index.js healthCheckPath: /api/health envVars: - key: NODE_ENV value: production - key: DATABASE_URL fromDatabase: name: my-db property: connectionStringNext Steps
Section titled “Next Steps”- Railway - Alternative PaaS
- Production Checklist - Full checklist