courseworx/backend/env.example

21 lines
No EOL
378 B
Text

# Server Configuration
PORT=5000
NODE_ENV=development
# Database Configuration
DB_HOST=localhost
DB_PORT=5432
DB_NAME=courseworx
DB_USER=postgres
DB_PASSWORD=your_password
# JWT Configuration
JWT_SECRET=your_jwt_secret_key_here
JWT_EXPIRES_IN=7d
# File Upload Configuration
UPLOAD_PATH=./uploads
MAX_FILE_SIZE=10485760
# CORS Configuration
CORS_ORIGIN=http://localhost:3000