Added DB connection and started creating api calls for the pages

This commit is contained in:
gulimabr
2025-11-30 15:17:23 -03:00
parent b5381ae376
commit bbbe65067b
20 changed files with 1403 additions and 152 deletions

View File

@@ -38,3 +38,16 @@ COOKIE_DOMAIN=
# Cookie max age in seconds (default: 3600 = 1 hour)
COOKIE_MAX_AGE=3600
# -------------------------------------------
# Database Configuration (PostgreSQL)
# -------------------------------------------
# Database host (your PostgreSQL server address)
DATABASE_HOST=your-postgres-host
DATABASE_PORT=5432
DATABASE_NAME=db-name
DATABASE_USER=your-username
DATABASE_PASSWORD=your-password
# Set to true to log all SQL queries (useful for debugging)
DATABASE_ECHO=false