Setting a module
Module is the key for microservices approach
Creating a module requires you to use the @ServerModule
decorator.
The @ServerModule
, get an object of the following structure:
{
controllers?:Class[],
services?:Class[],
modules?: Class[]
}
Example:
Last updated