Job category:
Software Engineering

Enhancing Your API with Guards and Interceptors

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.
JWT
NestJS
TypeScript
3 lessons
11 practices
1 hour
Badge for Server-Side Programming,
Server-Side Programming

Course details

Enforcing Ownership Controls
Enforcing Ownership on Reading Progress
Implementing the CurrentUser Decorator
Implementing the OwnerOrAdminGuard
Implementing the updateProgress Controller Method

Turn screen time into skills time

Practice anytime, anywhere with our mobile app.
Sign up

Join the 1M+ learners on CodeSignal

Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal