-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.production
More file actions
47 lines (35 loc) · 1.34 KB
/
.env.production
File metadata and controls
47 lines (35 loc) · 1.34 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
# Production Environment Variables for Vercel Deployment
# Add these variables in your Vercel dashboard under Settings > Environment Variables
# Clerk Authentication (Required)
CLERK_PUBLISHABLE_KEY=pk_live_your_live_publishable_key
CLERK_SECRET_KEY=sk_live_your_live_secret_key
# Spoonacular API (Required)
SPOONACULAR_API_KEY=your_spoonacular_api_key
# MongoDB Atlas (Required for production)
MONGODB_URI=mongodb+srv://username:password@cluster.mongodb.net/recipegenius?retryWrites=true&w=majority
# Node Environment
NODE_ENV=production
# CORS Origins (Required)
FRONTEND_URL=https://your-frontend-domain.vercel.app
ALLOWED_ORIGINS=https://your-frontend-domain.vercel.app,https://your-custom-domain.com
# JWT Secret (Required)
JWT_SECRET=your_super_secure_jwt_secret_key_for_production
# Optional: Email Service
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your_email@gmail.com
SMTP_PASS=your_app_password6 - Building And De
# Optional: File Storage (AWS S3)
AWS_ACCESS_KEY_ID=your_aws_access_key
AWS_SECRET_ACCESS_KEY=your_aws_secret_key
AWS_BUCKET_NAME=recipegenius-images
AWS_REGION=us-east-1
# Optional: Analytics
GOOGLE_ANALYTICS_ID=G-XXXXXXXXXX
# Optional: Redis Cache
REDIS_URL=redis://your-redis-instance:6379
# Optional: Sentry for Error Tracking
SENTRY_DSN=https://your-sentry-dsn
# Security
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100