feat(core): 🔗 wired all modules together
This commit is contained in:
parent
73e6b2b310
commit
9b8d1e0458
1 changed files with 19 additions and 0 deletions
19
backoffice/src/app.module.ts
Normal file
19
backoffice/src/app.module.ts
Normal file
|
|
@ -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 { }
|
||||
Loading…
Reference in a new issue