Common Library to provide common functionality for NestJS applications
Provides a ConfigService that can be used to load configuration from a file or environment variables.
Provides a LoggerService that can be used to log messages to the console.
Provides a RedisService that can be used to connect to a Redis instance.
Provides abstract classes for controllers and services that can be used to create a REST API.
Provides a NavigationService that can be used to create a navigation tree and share it between multiple applications
Example Usage:
Example :NavigationModule.registerAsync({
imports: [ConfigModule],
inject: [ConfigService],
useFactory: (config: ConfigService) => ({
natsHost: config.msAddress,
natsPort: config.msPort,
appName: config.applicationName,
serverAddress: config.serverAddress,
routes: [...frontendNavigation],
}),
});