initial commit - LeDiscord plateforme des copains

This commit is contained in:
EvanChal
2025-08-21 00:28:21 +02:00
commit b7a84a53aa
93 changed files with 16247 additions and 0 deletions

39
env.example Normal file
View File

@@ -0,0 +1,39 @@
# ===========================================
# LeDiscord - Configuration d'environnement
# ===========================================
# Copiez ce fichier vers .env et modifiez les valeurs
# ===========================================
# BASE DE DONNÉES
# ===========================================
DB_PASSWORD=lediscord_password_change_me
# ===========================================
# JWT (SÉCURITÉ)
# ===========================================
JWT_SECRET_KEY=your-super-secret-jwt-key-change-me-to-something-very-long-and-random
# ===========================================
# EMAIL (OPTIONNEL)
# ===========================================
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASSWORD=your-app-password
# ===========================================
# UPLOAD ET STOCKAGE
# ===========================================
UPLOAD_PATH=./uploads
# ===========================================
# ADMIN PAR DÉFAUT
# ===========================================
ADMIN_EMAIL=admin@lediscord.com
ADMIN_PASSWORD=admin123_change_me
# ===========================================
# CORS (DÉVELOPPEMENT)
# ===========================================
# Ces valeurs sont utilisées par défaut dans le code
# CORS_ORIGINS=http://localhost:5173,http://localhost:3000