Create web/.env.example
Browse files- web/.env.example +61 -0
web/.env.example
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Application
|
| 2 |
+
NEXT_PUBLIC_APP_URL=http://localhost:3000
|
| 3 |
+
NEXT_PUBLIC_APP_NAME=BackgroundFX Pro
|
| 4 |
+
|
| 5 |
+
# API
|
| 6 |
+
NEXT_PUBLIC_API_URL=http://localhost:8000
|
| 7 |
+
API_KEY=your-api-key-here
|
| 8 |
+
|
| 9 |
+
# Authentication
|
| 10 |
+
NEXTAUTH_URL=http://localhost:3000
|
| 11 |
+
NEXTAUTH_SECRET=your-nextauth-secret-here
|
| 12 |
+
|
| 13 |
+
# OAuth Providers
|
| 14 |
+
GOOGLE_CLIENT_ID=your-google-client-id
|
| 15 |
+
GOOGLE_CLIENT_SECRET=your-google-client-secret
|
| 16 |
+
GITHUB_CLIENT_ID=your-github-client-id
|
| 17 |
+
GITHUB_CLIENT_SECRET=your-github-client-secret
|
| 18 |
+
|
| 19 |
+
# Database
|
| 20 |
+
DATABASE_URL=postgresql://user:password@localhost:5432/backgroundfx
|
| 21 |
+
|
| 22 |
+
# Redis
|
| 23 |
+
REDIS_URL=redis://localhost:6379
|
| 24 |
+
|
| 25 |
+
# Storage
|
| 26 |
+
AWS_ACCESS_KEY_ID=your-aws-access-key
|
| 27 |
+
AWS_SECRET_ACCESS_KEY=your-aws-secret-key
|
| 28 |
+
AWS_REGION=us-east-1
|
| 29 |
+
AWS_S3_BUCKET=backgroundfx-uploads
|
| 30 |
+
|
| 31 |
+
# Stripe
|
| 32 |
+
STRIPE_PUBLIC_KEY=pk_test_xxxxx
|
| 33 |
+
STRIPE_SECRET_KEY=sk_test_xxxxx
|
| 34 |
+
STRIPE_WEBHOOK_SECRET=whsec_xxxxx
|
| 35 |
+
|
| 36 |
+
# Analytics
|
| 37 |
+
NEXT_PUBLIC_GA_ID=G-XXXXXXXXXX
|
| 38 |
+
NEXT_PUBLIC_MIXPANEL_TOKEN=your-mixpanel-token
|
| 39 |
+
NEXT_PUBLIC_SENTRY_DSN=your-sentry-dsn
|
| 40 |
+
|
| 41 |
+
# Feature Flags
|
| 42 |
+
NEXT_PUBLIC_ENABLE_VIDEO=true
|
| 43 |
+
NEXT_PUBLIC_ENABLE_BATCH=true
|
| 44 |
+
NEXT_PUBLIC_ENABLE_AI_BACKGROUNDS=true
|
| 45 |
+
|
| 46 |
+
# Rate Limiting
|
| 47 |
+
RATE_LIMIT_REQUESTS=100
|
| 48 |
+
RATE_LIMIT_WINDOW=900000
|
| 49 |
+
|
| 50 |
+
# WebSocket
|
| 51 |
+
NEXT_PUBLIC_WS_URL=ws://localhost:8000
|
| 52 |
+
|
| 53 |
+
# CDN
|
| 54 |
+
NEXT_PUBLIC_CDN_URL=https://cdn.backgroundfx.pro
|
| 55 |
+
|
| 56 |
+
# Email
|
| 57 |
+
SMTP_HOST=smtp.gmail.com
|
| 58 |
+
SMTP_PORT=587
|
| 59 |
+
SMTP_USER=your-email@gmail.com
|
| 60 |
+
SMTP_PASS=your-app-password
|
| 61 |
+
SMTP_FROM=noreply@backgroundfx.pro
|