Skip to content

Commit c2fb80d

Browse files
committed
Merge branch 'folder_structure' into part_one
2 parents 5c18209 + 5022900 commit c2fb80d

File tree

17 files changed

+7
-16
lines changed

17 files changed

+7
-16
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"scripts": {
1010
"test": "NODE_ENV=test jest",
1111
"test:unit": "NODE_ENV=test jest --watch",
12-
"start": "NODE_ENV=production node dist/src/apps/mooc/server",
12+
"start": "NODE_ENV=production node dist/src/apps/mooc_backend/server",
1313
"build": "npm run build:clean && npm run build:tsc && npm run build:di",
1414
"build:tsc": "tsc -p tsconfig.prod.json",
1515
"build:di": "copy 'src/**/*.yaml' dist/src",

src/apps/mooc/infrastructure/routes/index.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/apps/mooc/app.ts renamed to src/apps/mooc_backend/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import bodyParser from 'body-parser';
22
import express from 'express';
33
import helmet from 'helmet';
44
import compress from 'compression';
5-
import { registerRoutes } from './infrastructure/routes';
5+
import { registerRoutes } from './routes';
66

77
const app: express.Express = express();
88

File renamed without changes.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
services:
2-
32
Mooc.courses.CreateCourse:
43
class: ../../../../Mooc/Courses/application/CreateCourse
54
arguments: []
65

76
Apps.mooc.controllers.CreateCourseController:
8-
class: ../../infrastructure/controllers/CreateCourseController
9-
arguments: ['@Mooc.courses.CreateCourse']
7+
class: ../../controllers/CreateCourseController
8+
arguments: ["@Mooc.courses.CreateCourse"]

0 commit comments

Comments
 (0)