All quizzes
Free quiz · 50 questions in the bank

NestJS quiz

Test your NestJS knowledge with a free interactive quiz — 50 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

What does a `Pipe` do?

In this round
  1. What does a `Pipe` do?
  2. How do you read a path parameter `id`?
  3. Which decorator declares a GET endpoint?
  4. Which package is the de-facto choice for declaring DTOs with validation?
  5. Which decorator marks a class as a controller?
  6. Which HTTP platform does NestJS use by default under the hood?
  7. Which decorator marks a class as injectable into other classes?
  8. What is the difference between `@nestjs/typeorm` and `@nestjs/prisma`?
  9. What does an `Interceptor` do?
  10. What does `@nestjs/config` provide?
  11. How do you return a 201 with a custom body from a `@Post()` handler?
  12. How do you inject a service into a controller?
Gaps to close?
Read the curated NestJS notes — core concepts, patterns, interview prep.
NestJS notes

More quizzes

AccessibilityAlgorithmsAngularApache KafkaAWSBootstrap