17 lines
505 B
TypeScript
17 lines
505 B
TypeScript
|
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';
|
||
|
|
||
|
@Module({
|
||
|
imports: [
|
||
|
ConfigModule.forRoot({ isGlobal: true }),
|
||
|
AutomapperModule.forRoot({ strategyInitializer: classes() }),
|
||
|
ConfigurationModule,
|
||
|
],
|
||
|
controllers: [],
|
||
|
providers: [],
|
||
|
})
|
||
|
export class AppModule {}
|