the-tip-top-backend/.env
soufiane b75f209c35 feat: add reCAPTCHA verification, email check, fix email service
- Add reCAPTCHA verification on registration
- Add POST /api/auth/check-email endpoint
- Fix email service lazy loading
- Add FRONTEND_URL and RECAPTCHA keys to env

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 16:37:16 +01:00

29 lines
798 B
Bash
Executable File

DB_HOST=51.75.24.29
DB_PORT=5433
DB_USER=postgres
DB_PASS=postgres
DB_NAME=thetiptop_dev
PORT=4000
JWT_SECRET=thetiptopsecret
GOOGLE_CLIENT_ID=546665126481-itnlvt22hjn6t0bbgua0aj55h6dpplsk.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=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
FACEBOOK_APP_ID=836681122652445
FACEBOOK_APP_SECRET=e6889f4339d140c218f1df177149893f
JWT_SECRET=thetiptopsecret
SESSION_SECRET=thetiptopsessionsecret
# Frontend URL (pour les liens dans les emails)
FRONTEND_URL=http://localhost:3000
# Email Configuration (SMTP)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=thetiptopgr3@gmail.com
SMTP_PASS=xydqvyrxcwwsiups
EMAIL_FROM=thetiptopgr3@gmail.com
# reCAPTCHA v2 (obtenir les clés sur https://www.google.com/recaptcha/admin)
RECAPTCHA_SECRET_KEY=YOUR_RECAPTCHA_SECRET_KEY