Switched to using controllers via routing-controllers

ref #4
This commit is contained in:
2020-11-25 19:28:12 +01:00
parent b5cf040cf0
commit 8cbcfe7fbb
7 changed files with 51 additions and 51 deletions

View File

@@ -23,14 +23,18 @@
"license": "CC-BY-NC-SA-4.0",
"dependencies": {
"body-parser": "^1.19.0",
"class-transformer": "^0.3.1",
"class-validator": "^0.12.2",
"consola": "^2.15.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"helmet": "^4.2.0",
"jsonwebtoken": "^8.5.1",
"multer": "^1.4.2",
"mysql": "^2.18.1",
"pg": "^8.5.1",
"reflect-metadata": "^0.1.13",
"routing-controllers": "^0.9.0-alpha.6",
"typeorm": "^0.2.29"
},
"devDependencies": {
@@ -38,7 +42,8 @@
"@types/dotenv-safe": "^8.1.1",
"@types/express": "^4.17.9",
"@types/jsonwebtoken": "^8.5.0",
"@types/node": "^14.14.9",
"@types/node": "^14.14.9",
"@types/multer": "^1.4.4",
"dotenv-safe": "^8.2.0",
"husky": "^4.3.0",
"nodemon": "^2.0.6",