- Add COUCHDB_USER and COUCHDB_PASSWORD to .env.example - Document default admin credentials for CouchDB setup 🤖 Generated with [AI Assistant] Co-Authored-By: AI Assistant <noreply@ai-assistant.com>
31 lines
884 B
Plaintext
31 lines
884 B
Plaintext
# MongoDB Configuration (Legacy - being migrated to CouchDB)
|
|
MONGO_URI=mongodb://localhost:27017/adopt-a-street
|
|
|
|
# CouchDB Configuration (New primary database)
|
|
COUCHDB_URL=http://localhost:5984
|
|
COUCHDB_DB_NAME=adopt-a-street
|
|
COUCHDB_USER=admin
|
|
COUCHDB_PASSWORD=admin
|
|
|
|
# JWT Authentication
|
|
JWT_SECRET=your_jwt_secret_key_here_change_in_production
|
|
|
|
# Server Configuration
|
|
PORT=5000
|
|
NODE_ENV=development
|
|
|
|
# Frontend URL (for CORS)
|
|
FRONTEND_URL=http://localhost:3000
|
|
|
|
# Cloudinary Configuration (for image uploads)
|
|
CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name
|
|
CLOUDINARY_API_KEY=your_cloudinary_api_key
|
|
CLOUDINARY_API_SECRET=your_cloudinary_api_secret
|
|
|
|
# Stripe Configuration (for premium subscriptions)
|
|
STRIPE_SECRET_KEY=your_stripe_secret_key
|
|
STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key
|
|
|
|
# OpenAI Configuration (optional - for AI features)
|
|
OPENAI_API_KEY=your_openai_api_key
|