Skip to content

Commit

Permalink
⚙️ chore: TopFiveModule을 AppModule에 추가#12
Browse files Browse the repository at this point in the history
  • Loading branch information
uuuo3o committed Nov 6, 2024
1 parent f8c7046 commit ba8e2d6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BE/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand All @@ -17,6 +18,7 @@ import { AppService } from './app.service';
entities: [],
synchronize: true,
}),
TopfiveModule,
],
controllers: [AppController],
providers: [AppService],
Expand Down
11 changes: 11 additions & 0 deletions BE/src/stocks/topfive/topfive.module.ts
Original file line number Diff line number Diff line change
@@ -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 {}

0 comments on commit ba8e2d6

Please sign in to comment.