Added DB connection and started creating api calls for the pages
This commit is contained in:
13
.env.example
13
.env.example
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user