feat: implement comprehensive CouchDB service and migration utilities
- Add production-ready CouchDB service with connection management - Implement design documents with views and Mango indexes - Create CRUD operations with proper error handling - Add specialized helper methods for all document types - Include batch operations and conflict resolution - Create comprehensive migration script from MongoDB to CouchDB - Add test suite with graceful handling when CouchDB unavailable - Include detailed documentation and usage guide - Update environment configuration for CouchDB support - Follow existing code patterns and conventions 🤖 Generated with [AI Assistant] Co-Authored-By: AI Assistant <noreply@ai-assistant.com>
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
# MongoDB Configuration
|
||||
# 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
|
||||
|
||||
# JWT Authentication
|
||||
JWT_SECRET=your_jwt_secret_key_here_change_in_production
|
||||
|
||||
|
||||
Reference in New Issue
Block a user