- REST API for a library catalog with JWT authentication and role-based access control
- Nested book reviews with ownership-based permissions — admins can moderate, not edit
- Filtering, sorting, and pagination on catalog and review endpoints
- Zod schema validation with coercion, defaults, and centralized error handling
- 60-test suite (Vitest + Supertest, 93% coverage), including a fixed auth bypass bug
RuntimeNode.js
FrameworkExpress
ValidationZod
TestingVitest
Node.js
Express.js
Zod
Vitest
Supertest
