From ba8e2d621355c4ae7e90de75ceb40a47a6cab272 Mon Sep 17 00:00:00 2001 From: JIN Date: Wed, 6 Nov 2024 17:13:29 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20chore:=20TopFiveModule?= =?UTF-8?q?=EC=9D=84=20AppModule=EC=97=90=20=EC=B6=94=EA=B0=80#12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BE/src/app.module.ts | 2 ++ BE/src/stocks/topfive/topfive.module.ts | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 BE/src/stocks/topfive/topfive.module.ts 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 {}