51 lines
1.3 KiB
Text
51 lines
1.3 KiB
Text
![]() |
# Database
|
||
|
DATABASE_URL="postgresql://username:password@localhost:5432/seo_image_renamer?schema=public"
|
||
|
|
||
|
# Application
|
||
|
NODE_ENV="development"
|
||
|
PORT=3001
|
||
|
API_PREFIX="api/v1"
|
||
|
|
||
|
# JWT Configuration
|
||
|
JWT_SECRET="your-super-secret-jwt-key-here"
|
||
|
JWT_EXPIRES_IN="7d"
|
||
|
|
||
|
# Google OAuth
|
||
|
GOOGLE_CLIENT_ID="your-google-client-id"
|
||
|
GOOGLE_CLIENT_SECRET="your-google-client-secret"
|
||
|
GOOGLE_REDIRECT_URI="http://localhost:3001/api/v1/auth/google/callback"
|
||
|
|
||
|
# Stripe Configuration
|
||
|
STRIPE_SECRET_KEY="sk_test_your_stripe_secret_key"
|
||
|
STRIPE_PUBLISHABLE_KEY="pk_test_your_stripe_publishable_key"
|
||
|
STRIPE_WEBHOOK_SECRET="whsec_your_stripe_webhook_secret"
|
||
|
|
||
|
# AWS S3 Configuration
|
||
|
AWS_ACCESS_KEY_ID="your-aws-access-key"
|
||
|
AWS_SECRET_ACCESS_KEY="your-aws-secret-key"
|
||
|
AWS_REGION="us-east-1"
|
||
|
AWS_S3_BUCKET="seo-image-renamer-uploads"
|
||
|
|
||
|
# OpenAI Configuration
|
||
|
OPENAI_API_KEY="sk-your-openai-api-key"
|
||
|
OPENAI_MODEL="gpt-4-vision-preview"
|
||
|
|
||
|
# Frontend URL (for CORS)
|
||
|
FRONTEND_URL="http://localhost:3000"
|
||
|
|
||
|
# Redis (for caching and queues)
|
||
|
REDIS_URL="redis://localhost:6379"
|
||
|
|
||
|
# Email Configuration (optional)
|
||
|
SMTP_HOST="smtp.gmail.com"
|
||
|
SMTP_PORT=587
|
||
|
SMTP_USER="your-email@gmail.com"
|
||
|
SMTP_PASS="your-email-password"
|
||
|
FROM_EMAIL="noreply@seo-image-renamer.com"
|
||
|
|
||
|
# Monitoring (optional)
|
||
|
SENTRY_DSN="https://your-sentry-dsn"
|
||
|
|
||
|
# Rate Limiting
|
||
|
RATE_LIMIT_TTL=60
|
||
|
RATE_LIMIT_LIMIT=10
|