-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.env.example
More file actions
38 lines (30 loc) · 1.06 KB
/
.env.example
File metadata and controls
38 lines (30 loc) · 1.06 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
# Database
DATABASE_URL="postgresql://username:password@localhost:5432/hello_world"
# Authentication
JWT_SECRET="your-super-secret-jwt-key-here"
# Stripe (for payments)
STRIPE_SECRET_KEY="sk_test_..."
STRIPE_PUBLISHABLE_KEY="pk_test_..."
STRIPE_WEBHOOK_SECRET="whsec_..."
# External APIs
COINGECKO_API_KEY="your-coingecko-api-key"
COINMARKETCAP_API_KEY="your-coinmarketcap-api-key"
# Email (for notifications)
SMTP_HOST="smtp.gmail.com"
SMTP_PORT="587"
SMTP_USER="your-email@gmail.com"
SMTP_PASS="your-app-password"
# File Upload (AWS S3 or similar)
AWS_ACCESS_KEY_ID="your-aws-access-key"
AWS_SECRET_ACCESS_KEY="your-aws-secret-key"
AWS_REGION="us-east-1"
AWS_S3_BUCKET="hello-world-uploads"
# Redis (for caching)
REDIS_URL="redis://localhost:6379"
# App Configuration
NEXT_PUBLIC_APP_URL="http://localhost:3000"
NODE_ENV="development"
# CORS allowed origins for each environment (comma-separated)
CORS_ALLOWED_ORIGINS_DEV=http://localhost:3000
CORS_ALLOWED_ORIGINS_STAGING=https://staging.example.com
CORS_ALLOWED_ORIGINS_PROD=https://yourdomain.com,https://app.yourdomain.com