diff --git a/BE/src/app.module.ts b/BE/src/app.module.ts index db5337d5..efa0165f 100644 --- a/BE/src/app.module.ts +++ b/BE/src/app.module.ts @@ -3,6 +3,7 @@ import { TypeOrmModule } from '@nestjs/typeorm'; import { ConfigModule } from '@nestjs/config'; import { AppController } from './app.controller'; import { AppService } from './app.service'; +import { TopfiveModule } from './stocks/topfive/topfive.module'; @Module({ imports: [ @@ -17,6 +18,7 @@ import { AppService } from './app.service'; entities: [], synchronize: true, }), + TopfiveModule, ], controllers: [AppController], providers: [AppService], diff --git a/BE/src/stocks/topfive/topfive.module.ts b/BE/src/stocks/topfive/topfive.module.ts new file mode 100644 index 00000000..70f1d6b9 --- /dev/null +++ b/BE/src/stocks/topfive/topfive.module.ts @@ -0,0 +1,11 @@ +import { Module } from '@nestjs/common'; +import { ConfigModule } from '@nestjs/config'; +import { TopfiveController } from './topfive.controller'; +import { TopFiveService } from './topfive.service'; + +@Module({ + imports: [ConfigModule], + controllers: [TopfiveController], + providers: [TopFiveService], +}) +export class TopfiveModule {}