Question · NestJS course · Module 1: NestJS Basics
Additional: The Module Definition File
Which file in the legion/ folder defines the module and ties the controller to the service?
Answer options
- legion.service.ts
- legion.module.ts
- legion.controller.ts
- dto/create-legion.dto.ts
Show the answer
Correct answer:
- legion.module.ts