feat(server): add error handler & refactor controllers
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"entryFile": "src/index.ts",
|
||||
"noImplicitAdditionalProperties": "throw-on-extras",
|
||||
"controllerPathGlobs": ["src/controllers/**/*Controller.ts"],
|
||||
"controllerPathGlobs": ["src/controllers/**/*Controller.ts", "src/types/**/*.ts"],
|
||||
"spec": {
|
||||
"outputDirectory": "build",
|
||||
"specVersion": 3,
|
||||
@@ -13,6 +13,7 @@
|
||||
"host": "localhost:3005"
|
||||
},
|
||||
"routes": {
|
||||
"routesDir": "src/routes"
|
||||
"routesDir": "src/routes",
|
||||
"authenticationModule": "src/middleware/auth.ts"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user