Luflox interview question

What is a module in NestJS?

Interview Answer

Anonymous

26 Jun 2025

A module in NestJS is a way to group related code (controllers, services, utilities, etc.) together, it helps you organize the app and control what parts are isolated and which are shared. Every app has at least one root module, and you can create more to structure features