feat: Intégration du backend NestJS depuis YNOV
- Framework: NestJS avec TypeORM - Authentification: JWT (access + refresh tokens) - Gestion utilisateurs: CRUD complet avec validation - Routes: auth, users, parents, assistantes maternelles - Dockerfile pour conteneurisation
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Fichier: .env.example
|
||||
# Copier ce fichier vers .env et adapter les valeurs selon votre environnement
|
||||
|
||||
# Configuration de la base de données PostgreSQL
|
||||
POSTGRES_HOST=postgres
|
||||
POSTGRES_PORT=5432
|
||||
POSTGRES_USER=admin
|
||||
POSTGRES_PASSWORD=admin123
|
||||
POSTGRES_DB=ptitpas_db
|
||||
|
||||
# Configuration PgAdmin (accessible sur http://localhost:8080)
|
||||
PGADMIN_DEFAULT_EMAIL=admin@localhost
|
||||
PGADMIN_DEFAULT_PASSWORD=admin123
|
||||
|
||||
# Configuration de l'API
|
||||
API_PORT=3000
|
||||
|
||||
# Secrets pour l'authentification JWT
|
||||
JWT_SECRET=dev-jwt-secret-key-change-me
|
||||
JWT_EXPIRATION_TIME=7d
|
||||
|
||||
# Environnement
|
||||
NODE_ENV=development
|
||||
Reference in New Issue
Block a user