diff --git a/backoffice/src/app.module.ts b/backoffice/src/app.module.ts new file mode 100644 index 0000000..a450960 --- /dev/null +++ b/backoffice/src/app.module.ts @@ -0,0 +1,19 @@ +import { Module } from '@nestjs/common'; +import { ConfigModule } from '@nestjs/config'; +import { AppController } from './app.controller'; +import { AppService } from './app.service'; +import { StripeModule } from './stripe'; +import { PlansModule } from './plans'; +import { AdminModule } from './admin'; + +@Module({ + imports: [ + ConfigModule.forRoot({ isGlobal: true, envFilePath: '.env' }), + StripeModule, + PlansModule, + AdminModule, + ], + controllers: [AppController], + providers: [AppService], +}) +export class AppModule { }