SugoiJS support modular approach for easy migration to micro-services architecture. Therefore, for using SugoiJS server you should define at least one module - the bootstrap module.
Setting a Module
Creating a module requires you to create a class with @ServerModule decorator on it .
The @ServerModule, retrieve an object of the following structure: