2023-05-03 11:43:21 +00:00
|
|
|
import { Module } from '@nestjs/common';
|
2023-05-03 15:31:26 +00:00
|
|
|
import { ConfigModule } from '@nestjs/config';
|
|
|
|
import { ConfigurationModule } from './modules/configuration/configuration.module';
|
2023-05-04 08:05:23 +00:00
|
|
|
import { HealthModule } from './modules/health/health.module';
|
2023-05-03 15:31:26 +00:00
|
|
|
import { AdModule } from './modules/ad/ad.module';
|
2023-05-04 10:07:53 +00:00
|
|
|
import { AutomapperModule } from '@automapper/nestjs';
|
|
|
|
import { classes } from '@automapper/classes';
|
2023-05-03 11:43:21 +00:00
|
|
|
|
|
|
|
@Module({
|
2023-05-03 15:31:26 +00:00
|
|
|
imports: [
|
|
|
|
ConfigModule.forRoot({ isGlobal: true }),
|
2023-05-04 10:07:53 +00:00
|
|
|
AutomapperModule.forRoot({ strategyInitializer: classes() }),
|
2023-05-03 15:31:26 +00:00
|
|
|
ConfigurationModule,
|
2023-05-04 08:05:23 +00:00
|
|
|
HealthModule,
|
2023-05-03 15:31:26 +00:00
|
|
|
AdModule,
|
|
|
|
],
|
2023-05-03 11:43:21 +00:00
|
|
|
controllers: [],
|
|
|
|
providers: [],
|
|
|
|
})
|
|
|
|
export class AppModule {}
|