You’ll harden and polish the Reading Tracker API built in the first three courses. First, you’ll enforce ownership so users can only modify their own reading progress. Then you’ll add centralized request logging, standardize both success and error responses across the API, and finally refactor to a global JWT guard with a `@Public()` decorator so security is easy to scale.
Overview
Syllabus
- Unit 1: Enforcing Ownership Controls
- Enforcing Ownership on Reading Progress
- Implementing the CurrentUser Decorator
- Implementing the OwnerOrAdminGuard
- Implementing the updateProgress Controller Method
- Unit 2: Centralized Logging with Interceptors
- Observing Centralized Logging with Interceptors
- Building the Protected Admin Logs Endpoint
- Implementing the Logs Service for Centralized Storage
- Implementing a Centralized Logging Interceptor
- Unit 3: Admin Only Decorator
- Observing the AdminOnly Decorator
- Building the AdminOnly Decorator
- Applying the AdminOnly Decorator to Controllers