Plateformes hosting Node.js (2026)
- Render : 7-25 USD/mois, simple, auto-deploy GitHub
- Railway : pay-per-usage, top DX
- Fly.io : edge global, low latency
- Vercel : pour Next.js (serverless functions)
- Heroku : à éviter (pricing 2x trop élevé)
Variables environnement essentielles
- DATABASE_URL : connexion PostgreSQL
- JWT_SECRET : signature tokens
- REDIS_URL : cache + sessions (optionnel)
- SMTP_* : envoi emails (Resend, Postmark, SES)
- NODE_ENV : 'production'
Checklist production
- ✓ Helmet.js pour headers sécurité
- ✓ CORS configuré strictement
- ✓ Rate limiting (express-rate-limit)
- ✓ Logs structurés (Pino, Winston)
- ✓ Monitoring (Sentry pour erreurs, Better Uptime)
- ✓ Backup BDD daily (Render le fait, sinon pg_dump cron)
- ✓ HTTPS only (Render gère LetsEncrypt)
- ✓ Tests E2E sur CI/CD (GitHub Actions)
💡 Coût total stack production minimal : 25-50 USD/mois (Render Web + PostgreSQL + Redis + monitoring). Largement abordable.