forked from Lead-Studios/veritix-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
26 lines (18 loc) · 808 Bytes
/
Copy path.env.example
File metadata and controls
26 lines (18 loc) · 808 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
25
26
# Application Environment (development, production, test, staging)
NODE_ENV=development
# Server Port
PORT=3000
# Database Connection String (PostgreSQL)
DATABASE_URL=postgresql://user:password@localhost:5432/veritix
# JWT Access Token Secret (minimum 32 characters)
ACCESS_TOKEN_SECRET=your-super-secret-access-token-key-min-32-chars
# JWT Refresh Token Secret (minimum 32 characters)
REFRESH_TOKEN_SECRET=your-super-secret-refresh-token-key-min-32-chars
# JWT Access Token Expiration (e.g., 15m, 1h, 1d)
ACCESS_TOKEN_EXPIRATION=15m
# JWT Refresh Token Expiration (e.g., 7d, 30d)
REFRESH_TOKEN_EXPIRATION=7d
# SendGrid API Key (optional - if not set, email service runs in mock mode)
SENDGRID_API_KEY=your-sendgrid-api-key
# SendGrid From Email (optional)
SENDGRID_FROM_EMAIL=noreply@yourdomain.com