-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
52 lines (43 loc) · 1.17 KB
/
.env.example
File metadata and controls
52 lines (43 loc) · 1.17 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# ConnectKit Environment Configuration
# Copy this file to .env and update with your values
# Environment
NODE_ENV=development
# Database Configuration
DB_HOST=localhost
DB_PORT=5432
DB_USER=admin
DB_PASSWORD=admin123
DB_NAME=connectkit
# Redis Configuration
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=redis123
# Backend Configuration
BACKEND_PORT=3001
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
JWT_REFRESH_SECRET=your-super-secret-refresh-key-change-this-in-production
JWT_EXPIRES_IN=15m
JWT_REFRESH_EXPIRES_IN=7d
ENCRYPTION_KEY=your-32-character-encryption-key-change-this
# Frontend Configuration
FRONTEND_PORT=3000
VITE_API_URL=http://localhost:3001/api
VITE_APP_NAME=ConnectKit
# Email Configuration (optional)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_PASS=your-app-password
# Security Configuration
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100
CORS_ORIGIN=http://localhost:3000
SESSION_SECRET=your-session-secret-change-this-in-production
# Monitoring (optional)
SENTRY_DSN=
LOG_LEVEL=info
# Feature Flags
ENABLE_MFA=false
ENABLE_EMAIL_VERIFICATION=true
ENABLE_RATE_LIMITING=true