Commit Graph

2 Commits

Author SHA1 Message Date
c23afdf0b7 Implement Phase 2 activity monitoring API
- Add GET /api/admin/activity with pagination and filters
- Add GET /api/admin/users/:id/activity for user-specific history
- Add GET /api/admin/activity/export for CSV export
- Implement $lookup aggregation for user info (name, email)
- Add date range filtering with validation
- Export limited to 10,000 records with truncation headers
- All 50 Phase 2 tests passing
2026-01-22 13:01:48 -07:00
39bd9b1e71 Add Jest test infrastructure for admin dashboard TDD
- Configure Jest with mongodb-memory-server for isolated testing
- Add phase 1-4 test suites covering all admin requirements
- Add test helpers and setup/teardown utilities
- Install jest, supertest, mongodb-memory-server dependencies
2026-01-22 11:57:49 -07:00