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/5Score 0

How do you read a path parameter `id`?

Questions in this quiz
  1. How do you read a path parameter `id`?
  2. What is NestJS?
  3. How do you return a 201 with a custom body from a `@Post()` handler?
  4. Which decorator marks a class as injectable into other classes?
  5. How do you set a route to be globally prefixed (e.g., `/api`)?
  6. Which decorator marks a class as a controller?
  7. How do you inject a service into a controller?
  8. Which HTTP platform does NestJS use by default under the hood?
  9. Which CLI command scaffolds a new resource (controller + service + module)?
  10. Which package is the de-facto choice for declaring DTOs with validation?
  11. What is a "provider" in Nest?
  12. How do you raise a 404 from a service?
Gaps to close?
Read the curated NestJS notes — core concepts, patterns, interview prep.
NestJS notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web