Refactor database layer: convert to DatabaseProvider class with initialization

This commit is contained in:
dmit.b
2026-05-08 12:15:56 +03:00
commit 49bb854ca2
28 changed files with 2011 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
# Environment variables for sky_kfm_backend
# JWT secret used for signing tokens
JWT_SECRET=your-super-secret-key-change-me
# Secret pepper added to passwords before hashing (should be random and kept secret)
PASSWORD_PEPPER=your-random-pepper-string-change-me
# Database connection URL
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/family_safety
# TOKEN_LIFETIME in minutes
TOKEN_LIFETIME=600