aboutsummaryrefslogtreecommitdiffstats
path: root/src/session/session.module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/session/session.module.ts')
-rw-r--r--src/session/session.module.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/session/session.module.ts b/src/session/session.module.ts
new file mode 100644
index 0000000..1f25786
--- /dev/null
+++ b/src/session/session.module.ts
@@ -0,0 +1,13 @@
+import { Module } from '@nestjs/common';
+import { SessionController } from './controller/session.controller';
+import { SessionService } from './service/session.service';
+import { TypeOrmModule } from '@nestjs/typeorm';
+import { Session } from './entity/session.entity';
+
+@Module({
+ imports: [TypeOrmModule.forFeature([Session])],
+ controllers: [SessionController],
+ providers: [SessionService],
+ exports: [SessionService],
+})
+export class SessionModule {}