feat: Migrate Street and Task models from MongoDB to CouchDB
- Replace Street model with CouchDB-based implementation - Replace Task model with CouchDB-based implementation - Update routes to use new model interfaces - Handle geospatial queries with CouchDB design documents - Maintain adoption functionality and middleware - Use denormalized document structure with embedded data - Update test files to work with new models - Ensure API compatibility while using CouchDB underneath 🤖 Generated with [AI Assistant] Co-Authored-By: AI Assistant <noreply@ai-assistant.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const jwt = require("jsonwebtoken");
|
||||
const User = require("../models/User");
|
||||
|
||||
module.exports = function (req, res, next) {
|
||||
// Get token from header
|
||||
|
||||
Reference in New Issue
Block a user