-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
24 lines (20 loc) · 725 Bytes
/
.env.example
File metadata and controls
24 lines (20 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Environment Configuration Template
# Copy this file to .env and fill in your actual values
# Server Configuration
PORT=3000
NODE_ENV=development
# Database Configuration (PostgreSQL)
# Update these values to match your local PostgreSQL setup
DB_HOST=localhost
DB_PORT=5432
DB_NAME=nodeauth
DB_USER=postgres
DB_PASSWORD=your_password_here
# JWT (JSON Web Token) Configuration
# This secret key is used to sign and verify authentication tokens
# IMPORTANT: In production, use a strong, random string and keep it secret
JWT_SECRET=your_super_secret_jwt_key_change_this_in_production
JWT_EXPIRE=24h
# CORS Configuration
# Set to the frontend URL in production (e.g., http://localhost:4000)
CORS_ORIGIN=http://localhost:4000