- helmet et express-rate-limit sur les routes d'authentification - CORS restreint aux origines de FRONTEND_URL - CSP désactivée uniquement sur /api-docs pour Swagger UI - ajout du test de tirage et simplification du test e2e - suppression de tests/setup.js devenu inutile Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
14 lines
341 B
Plaintext
14 lines
341 B
Plaintext
PORT=5000
|
|
|
|
DATABASE_URL="postgresql://postgres:password@localhost:5432/the_tip_top_db"
|
|
|
|
JWT_SECRET="your_secret_key"
|
|
|
|
APP_URL="http://localhost:5000"
|
|
FRONTEND_URL="http://localhost:5173"
|
|
MAIL_HOST="smtp.gmail.com"
|
|
MAIL_PORT="587"
|
|
MAIL_USER="your_email@gmail.com"
|
|
MAIL_PASS="your_app_password"
|
|
MAIL_FROM="Thé Tip Top <your_email@gmail.com>"
|