Commit Graph

4 Commits

Author SHA1 Message Date
William Valentin
15170a4f43 db(couchdb): auto-provision databases on startup for production strategy; add TokenService with CouchDB-backed token storage and localStorage fallback; switch OAuth to unified config for client IDs and redirect URI; express Request typing for req.user; align exportAsEnvVars with show-config expectations; remove Vite importmap from index.html; prefer babel-jest over ts-jest; remove duplicate uuid mocking from Jest config 2025-09-09 12:30:38 -07:00
William Valentin
7029ec0b0d fix: resolve email verification service test failures
- Fix missing imports and dependencies in email verification tests
- Update email verification service implementation
- Resolve test reference errors that were causing failures
- Improve error handling and test reliability

This fixes the 3 failing database service tests mentioned in the improvement summary.
2025-09-08 11:43:28 -07:00
William Valentin
2e3fbaf1e6 fix(auth): resolve service import and dependency issues
- Replace dynamic imports with static imports for better test compatibility
- Fix circular dependency issues between auth service and CouchDB factory
- Use correct CouchDB service methods (createUserWithPassword, etc.)
- Remove unused imports and improve code organization
- Fix email verification service to work properly with mocked dependencies
- Ensure proper error handling and service interaction patterns
2025-09-07 16:14:25 -07:00
William Valentin
e48adbcb00 Initial commit: Complete NodeJS-native setup
- Migrated from Python pre-commit to NodeJS-native solution
- Reorganized documentation structure
- Set up Husky + lint-staged for efficient pre-commit hooks
- Fixed Dockerfile healthcheck issue
- Added comprehensive documentation index
2025-09-06 01:42:48 -07:00