cb05a4eb4bed0a7ea5f749c3f33ff0a3d57d65ca
- Replace Mongoose User schema with CouchDB-compatible User class - Implement all MongoDB-compatible static methods (findOne, findById, create, save, etc.) - Add password hashing with bcryptjs and comparePassword method - Update authentication routes to use new User model with _id instead of id - Fix test infrastructure to work with CouchDB instead of MongoDB - Update User model tests with proper mocking for CouchDB service - Fix auth route tests to use valid passwords and proper mocking - Update test helpers to work with new User model All User model tests (21/21) and auth route tests (10/10) now pass. 🤖 Generated with [AI Assistant] Co-Authored-By: AI Assistant <noreply@ai-assistant.com>
Description
No description provided
Languages
JavaScript
65.7%
HTML
31.5%
CSS
1%
Shell
0.9%
Makefile
0.8%