-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
32 lines (25 loc) · 718 Bytes
/
Copy path.env.example
File metadata and controls
32 lines (25 loc) · 718 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
27
28
29
30
31
32
# API Environment Variables
DATABASE_URL="postgresql://username:password@localhost:5432/linklens?schema=public"
JWT_SECRET="your-super-secret-jwt-key-change-this-in-production"
JWT_EXPIRES_IN="7d"
# Frontend URL for CORS
FRONTEND_URL="http://localhost:3000"
NEXT_PUBLIC_API_URL="http://localhost:3001"
# API Configuration
PORT=3001
NODE_ENV="development"
# Analytics & Tracking
ENABLE_ANALYTICS=true
IP_GEOLOCATION_API_KEY="your-ip-api-key"
# Optional: Email configuration for reports
SMTP_HOST=""
SMTP_PORT=""
SMTP_USER=""
SMTP_PASS=""
# Optional: Redis for caching
REDIS_URL="redis://localhost:6379"
# QR Code Settings
QR_CODE_SIZE=200
QR_CODE_FORMAT="png"
#Short URL Domain
SHORT_URL_DOMAIN="https://link.ly"