the-tip-top-backend/.env.preprod
soufiane 6d7c536a7e feat: add contact form email functionality
- Add SMTP configuration in all .env files
- Create sendContactEmail function in email service
- Add contact controller with form validation
- Create contact API route (POST /api/contact)
- Register contact route in main index.js
- Emails sent to thetiptopgr3@gmail.com

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 11:38:08 +01:00

30 lines
844 B
Plaintext

# Environnement PREPROD
NODE_ENV=preproduction
DB_HOST=51.75.24.29
DB_PORT=5434
DB_USER=postgres
DB_PASS=postgres
DB_NAME=thetiptop_preprod
PORT=4000
# URLs Frontend/Backend
FRONTEND_URL=https://preprod.dsp5-archi-o24a-15m-g3.fr
BACKEND_URL=https://api.preprod.dsp5-archi-o24a-15m-g3.fr
# JWT (Secrets générés automatiquement)
JWT_SECRET=koN619HNfIgBKrCRl6o1feaVg30GPHQR+4DvbCoxmlA=
SESSION_SECRET=DXgw+RHWLjW40G33fe5NqPnzwMkKf7bVxx3wZROkypM=
# OAuth
GOOGLE_CLIENT_ID=546665126481-itnlvt22hjn6t0bbgua0aj55h6dpplsk.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=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
FACEBOOK_APP_ID=836681122652445
FACEBOOK_APP_SECRET=e6889f4339d140c218f1df177149893f
# Email Configuration (SMTP)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=thetiptopgr3@gmail.com
SMTP_PASS=Dsp@2025
EMAIL_FROM=thetiptopgr3@gmail.com