18 lines
559 B
Bash
18 lines
559 B
Bash
# PostgreSQL Database Configuration
|
|
# Replace with your actual database connection details
|
|
DB_USER=postgres
|
|
DB_HOST=localhost
|
|
DB_DATABASE=todo_app_db
|
|
DB_PASSWORD=password
|
|
DB_PORT=5432 # Default PostgreSQL port
|
|
|
|
# JWT Configuration
|
|
# Use a strong, random secret for JWT signing in production
|
|
JWT_SECRET=873hfd23rh2rzr1h61rh13z1hß1r1ß4gr1fnwe5vgqwerf # geheim!!!
|
|
JWT_EXPIRES_IN=1h # How long the login token is valid
|
|
|
|
# Server Configuration
|
|
PORT=3000 # Port the Node.js server will run on
|
|
|
|
NODE_ENV=development # Set to 'production' in production environment
|