From d51d000b519459eaf7cc4569ddbbc11fadd91fad Mon Sep 17 00:00:00 2001
From: Samuli Virtapohja <l4721@student.jamk.fi>
Date: Tue, 2 Jul 2019 15:20:40 +0300
Subject: [PATCH] generated tracking base

---
 src/app.module.ts                   | 4 +++-
 src/tracking/tracking.controller.ts | 4 ++++
 src/tracking/tracking.module.ts     | 9 +++++++++
 src/tracking/tracking.service.ts    | 4 ++++
 4 files changed, 20 insertions(+), 1 deletion(-)
 create mode 100644 src/tracking/tracking.controller.ts
 create mode 100644 src/tracking/tracking.module.ts
 create mode 100644 src/tracking/tracking.service.ts

diff --git a/src/app.module.ts b/src/app.module.ts
index 738a6c1..dbb03cf 100644
--- a/src/app.module.ts
+++ b/src/app.module.ts
@@ -2,7 +2,6 @@ import { Module } from '@nestjs/common';
 import { APP_FILTER, APP_INTERCEPTOR, APP_GUARD } from '@nestjs/core';
 import { TypeOrmModule } from '@nestjs/typeorm';
 import { Connection } from 'typeorm';
-
 import { AppController } from './app.controller';
 import { AppService } from './app.service';
 import { UserModule } from './user/user.module';
@@ -14,6 +13,8 @@ import { RolesGuard } from './shared/roles.guard';
 import { TaskModule } from './task/task.module';
 import { DrawModule } from './draw/draw.module';
 import { FactionModule } from './faction/faction.module';
+import { TrackingModule } from './tracking/tracking.module';
+
 
 @Module({
   imports: [
@@ -24,6 +25,7 @@ import { FactionModule } from './faction/faction.module';
     TaskModule,
     DrawModule,
     FactionModule,
+    TrackingModule,
   ],
   controllers: [AppController],
   providers: [
diff --git a/src/tracking/tracking.controller.ts b/src/tracking/tracking.controller.ts
new file mode 100644
index 0000000..ef91aae
--- /dev/null
+++ b/src/tracking/tracking.controller.ts
@@ -0,0 +1,4 @@
+import { Controller } from '@nestjs/common';
+
+@Controller('tracking')
+export class TrackingController {}
diff --git a/src/tracking/tracking.module.ts b/src/tracking/tracking.module.ts
new file mode 100644
index 0000000..ccaf813
--- /dev/null
+++ b/src/tracking/tracking.module.ts
@@ -0,0 +1,9 @@
+import { Module } from '@nestjs/common';
+import { TrackingController } from './tracking.controller';
+import { TrackingService } from './tracking.service';
+
+@Module({
+  controllers: [TrackingController],
+  providers: [TrackingService]
+})
+export class TrackingModule {}
diff --git a/src/tracking/tracking.service.ts b/src/tracking/tracking.service.ts
new file mode 100644
index 0000000..d768c99
--- /dev/null
+++ b/src/tracking/tracking.service.ts
@@ -0,0 +1,4 @@
+import { Injectable } from '@nestjs/common';
+
+@Injectable()
+export class TrackingService {}
-- 
GitLab