Files
ToDo-App_Node.js_Test/.env
2025-04-06 15:27:27 +02:00

16 lines
489 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