first test

This commit is contained in:
MLH
2025-04-03 19:34:31 +02:00
parent 32141f7a26
commit 68c55593b3
16 changed files with 3088 additions and 0 deletions

15
.env Normal file
View File

@@ -0,0 +1,15 @@
# 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 # Ändere dies unbedingt!
JWT_EXPIRES_IN=1h # How long the login token is valid
# Server Configuration
PORT=3000 # Port the Node.js server will run on