feat(auth): implement authentication endpoints and JWT handling

This commit is contained in:
gabdevele
2026-04-12 20:18:33 +02:00 Unverified
parent f3979c56ef
commit cc8ae34838
18 changed files with 640 additions and 33 deletions
+7 -2
View File
@@ -1,5 +1,10 @@
API_PORT=3671
MONGO_INITDB_ROOT_PASSWORD=pass
MONGODB_URL=mongodb://theplug:pass@mongodb:27017/theplug?authSource=admin
MONGODB_URI=mongodb://theplug:pass@mongodb:27017/theplug?authSource=admin
MONGODB_DB_NAME=theplug
REDIS_URL=redis://redis:6379
REDIS_URL=redis://redis:6379
JWT_SECRET_KEY=change-this-secret
JWT_ALGORITHM=HS256
JWT_EXPIRE_MINUTES=30
AUTH_USERNAME=admin
AUTH_PASSWORD=change-this-password