Coding task · NestJS course · Module 1: NestJS Basics

Creating a NestJS Module

Create a NestJS module with a controller, service, and exports.

Task

Define a LegionModule with the @Module() decorator that registers LegionController in controllers, LegionService in providers, and makes LegionService available to other modules through exports.