2023-04-06 09:12:49 +00:00
|
|
|
import { classes } from '@automapper/classes';
|
|
|
|
import { AutomapperModule } from '@automapper/nestjs';
|
|
|
|
import { Module } from '@nestjs/common';
|
|
|
|
import { ConfigModule } from '@nestjs/config';
|
|
|
|
import { ConfigurationModule } from './modules/configuration/configuration.module';
|
2023-04-06 12:21:43 +00:00
|
|
|
import { HealthModule } from './modules/health/health.module';
|
2023-04-06 15:05:25 +00:00
|
|
|
import { MatcherModule } from './modules/matcher/matcher.module';
|
2023-04-06 09:12:49 +00:00
|
|
|
|
|
|
|
@Module({
|
|
|
|
imports: [
|
|
|
|
ConfigModule.forRoot({ isGlobal: true }),
|
|
|
|
AutomapperModule.forRoot({ strategyInitializer: classes() }),
|
|
|
|
ConfigurationModule,
|
2023-04-06 12:21:43 +00:00
|
|
|
HealthModule,
|
2023-04-06 15:05:25 +00:00
|
|
|
MatcherModule,
|
2023-04-06 09:12:49 +00:00
|
|
|
],
|
|
|
|
controllers: [],
|
|
|
|
providers: [],
|
|
|
|
})
|
|
|
|
export class AppModule {}
|