-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
40 lines (31 loc) · 1.01 KB
/
Copy path.env.example
File metadata and controls
40 lines (31 loc) · 1.01 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
# EventFlow Environment Configuration
# Copy to .env and fill in your values
# Database
DATABASE_URL=postgres://eventflow:changeme@localhost:5432/eventflow
POSTGRES_USER=eventflow
POSTGRES_PASSWORD=changeme
POSTGRES_DB=eventflow
# Redis
REDIS_URL=redis://localhost:6379
# API
NODE_ENV=development
API_PORT=3000
# Security — generate with: node -e "console.log(require('crypto').randomBytes(64).toString('hex'))"
JWT_SECRET=replace_this_with_a_long_random_string
JWT_EXPIRES_IN=8h
# Public URL (for QR codes and CORS)
PUBLIC_URL=http://localhost:4000
# Twilio SMS
TWILIO_ACCOUNT_SID=ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
TWILIO_AUTH_TOKEN=your_auth_token_here
TWILIO_PHONE_NUMBER=+1234567890
# WhatsApp
WHATSAPP_FROM=whatsapp:+14155238886
# Web Push — generate with: npx web-push generate-vapid-keys
VAPID_PUBLIC_KEY=your_vapid_public_key
VAPID_PRIVATE_KEY=your_vapid_private_key
VAPID_EMAIL=mailto:your@email.com
# Feature flags (set true to enable external delivery)
ENABLE_SMS=false
ENABLE_WHATSAPP=false
ENABLE_PUSH=false