feat: add profiles session API

This commit is contained in:
Matthieu
2025-09-17 23:11:25 +02:00
parent 83251b532c
commit df5bbeecb7
78 changed files with 3000 additions and 836 deletions

View File

@@ -11,6 +11,11 @@ CORS_ORIGIN=http://localhost:3001
# Configuration de sécurité
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
JWT_EXPIRES_IN=7d
SESSION_SECRET=change-this-session-secret
SESSION_SAME_SITE=lax
SESSION_MAX_AGE=604800000
DEFAULT_PROFILE_FIRST_NAME=Admin
DEFAULT_PROFILE_LAST_NAME=General
# Configuration de l'API
API_PREFIX=api
@@ -29,4 +34,4 @@ DB_HOST=localhost
DB_PORT=5432
DB_USERNAME=postgres
DB_PASSWORD=password
DB_NAME=inventory_db
DB_NAME=inventory_db