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

How do you return a 201 with a custom body from a `@Post()` handler?

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

More quizzes

.NETAccessibilityAgile MethodologyAlertmanagerAlgorithmsAndroid