Deploy Backend na Render
URLs
Production: https://api.radimenstein.com
Staging: https://trevo-api-v2-staging.onrender.com
Configuração
- Tipo: Web Service
- Build Command:
render-build.sh(ounpm install && npm run build) - Start Command:
node dist/server.js - Node Version: 20
- Auto-deploy: Ativado em push
Environment Variables
Configure todas as variáveis no dashboard Render:
DB_URLJWT_SECRETAWS_*MAILGUN_*FRONTEND_URLENV_MODE
Health Check
Endpoint: / ou /health