website-monitor/backend/.env.example

33 lines
625 B
Plaintext

# Server
PORT=3002
NODE_ENV=development
# Database
DATABASE_URL=postgresql://admin:admin123@localhost:5433/website_monitor
# Redis
REDIS_URL=redis://localhost:6380
# JWT
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
JWT_EXPIRES_IN=7d
# Email (Sendgrid/SMTP)
EMAIL_FROM=noreply@websitemonitor.com
SMTP_HOST=smtp.sendgrid.net
SMTP_PORT=587
SMTP_USER=apikey
SMTP_PASS=your-sendgrid-api-key
# App
APP_URL=http://localhost:3000
API_URL=http://localhost:3002
# Rate Limiting
MAX_MONITORS_FREE=5
MAX_MONITORS_PRO=50
MAX_MONITORS_BUSINESS=200
MIN_FREQUENCY_FREE=60
MIN_FREQUENCY_PRO=5
MIN_FREQUENCY_BUSINESS=1