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

Which decorator marks a class as injectable into other classes?

In this round
  1. Which decorator marks a class as injectable into other classes?
  2. What does `@nestjs/config` provide?
  3. Which decorator declares a GET endpoint?
  4. How do you inject a service into a controller?
  5. What is a "provider" in Nest?
  6. What does `main.ts` typically contain?
  7. What is the difference between `@nestjs/typeorm` and `@nestjs/prisma`?
  8. How do you raise a 404 from a service?
  9. What does an `Interceptor` do?
  10. Which CLI command scaffolds a new resource (controller + service + module)?
  11. How do you return a 201 with a custom body from a `@Post()` handler?
  12. How do you read a path parameter `id`?
Gaps to close?
Read the curated NestJS notes — core concepts, patterns, interview prep.
NestJS notes

More quizzes

.NETAccessibilityAgile MethodologyAirflowAlertmanagerAlgorithms