Skip to content

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 (ou npm 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_URL
  • JWT_SECRET
  • AWS_*
  • MAILGUN_*
  • FRONTEND_URL
  • ENV_MODE

Health Check

Endpoint: / ou /health

Documentação da Plataforma Trevo Radimenstein