-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
57 lines (44 loc) · 1.99 KB
/
env.example
File metadata and controls
57 lines (44 loc) · 1.99 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
53
54
55
56
57
# Server Configuration
PORT=3001
NODE_ENV=development
# Database Configuration
# For local MongoDB:
MONGODB_URI=mongodb://localhost:27017/taskmanager
# For MongoDB Atlas (uncomment and replace with your connection string):
# MONGODB_URI=mongodb+srv://username:password@cluster.mongodb.net/taskmanager
# CORS Configuration
# Comma-separated list of allowed origins
ALLOWED_ORIGINS=http://localhost:5173,http://localhost:3000,https://yourdomain.com
# Frontend URL (for CORS and logging)
FRONTEND_URL=http://localhost:5173
# Backend URL (for OAuth callbacks)
BACKEND_URL=http://localhost:3001
# File Upload Configuration
MAX_FILE_SIZE=10485760
# 10MB in bytes (10 * 1024 * 1024)
# Security (REQUIRED for authentication)
# Generate a secure random string for production
JWT_SECRET=your-super-secret-jwt-key-change-in-production
SESSION_SECRET=your-session-secret-here
# OAuth Configuration (OPTIONAL - for Google and GitHub login)
# Google OAuth - Get from https://console.developers.google.com/
GOOGLE_CLIENT_ID=your-google-client-id-here
GOOGLE_CLIENT_SECRET=your-google-client-secret-here
# Email Configuration (REQUIRED for password reset and email verification)
# Get your API key from https://resend.com
RESEND_API_KEY=your-resend-api-key-here
RESEND_FROM=noreply@popvia.me
# Stripe Configuration (REQUIRED for payments)
# Get your API keys from https://dashboard.stripe.com/apikeys
STRIPE_SECRET_KEY=sk_test_your_stripe_secret_key_here
STRIPE_PUBLISHABLE_KEY=pk_test_your_stripe_publishable_key_here
STRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret_here
# Stripe Product/Price IDs (OPTIONAL - will be created automatically if not provided)
# These will be created automatically on first use, but you can set them manually for consistency
# STRIPE_PRO_PRODUCT_ID=prod_your_pro_product_id
# STRIPE_PRO_PRICE_ID=price_your_pro_price_id
# STRIPE_PRO_ONETIME_PRODUCT_ID=prod_your_pro_onetime_product_id
# STRIPE_PRO_ONETIME_PRICE_ID=price_your_pro_onetime_price_id
# Logging
LOG_LEVEL=info
# Options: error, warn, info, debug