matcher/src/app.module.ts

21 lines
671 B
TypeScript
Raw Normal View History

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';
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,
MatcherModule,
2023-04-06 09:12:49 +00:00
],
controllers: [],
providers: [],
})
export class AppModule {}