2023-01-25 14:16:13 +00:00
|
|
|
import { classes } from '@automapper/classes';
|
|
|
|
import { AutomapperModule } from '@automapper/nestjs';
|
2023-01-25 09:50:05 +00:00
|
|
|
import { Module } from '@nestjs/common';
|
2023-01-25 14:16:13 +00:00
|
|
|
import { ConfigModule } from '@nestjs/config';
|
|
|
|
import { ConfigurationModule } from './modules/configuration/configuration.module';
|
2023-03-31 08:20:15 +00:00
|
|
|
import { HealthModule } from './modules/health/health.module';
|
2023-01-25 09:50:05 +00:00
|
|
|
|
|
|
|
@Module({
|
2023-01-25 14:16:13 +00:00
|
|
|
imports: [
|
|
|
|
ConfigModule.forRoot({ isGlobal: true }),
|
|
|
|
AutomapperModule.forRoot({ strategyInitializer: classes() }),
|
|
|
|
ConfigurationModule,
|
2023-03-31 08:20:15 +00:00
|
|
|
HealthModule,
|
2023-01-25 14:16:13 +00:00
|
|
|
],
|
|
|
|
controllers: [],
|
|
|
|
providers: [],
|
2023-01-25 09:50:05 +00:00
|
|
|
})
|
|
|
|
export class AppModule {}
|