Implemented basic entities, routes, seed scripts

This commit is contained in:
ireic
2019-12-02 01:27:59 +01:00
parent 9edb74c2df
commit 5a08433830
32 changed files with 2340 additions and 118 deletions

View File

@@ -5,12 +5,33 @@
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "nodemon --exec ts-node --files src/index.ts",
"db-seed": "nodemon --exec ts-node --files src/database/seeds/development/index.ts"
},
"dependencies": {
"module-alias": "^2.2.2"
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-async-handler": "^1.1.4",
"faker": "^4.1.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.15",
"module-alias": "^2.2.2",
"pg": "^7.14.0",
"reflect-metadata": "^0.1.13",
"typeorm": "^0.2.20"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.8.0",
"@typescript-eslint/parser": "^2.8.0",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.2",
"@types/faker": "^4.1.7",
"@types/jsonapi-serializer": "^3.6.2",
"@types/jsonwebtoken": "^8.3.5",
"@types/lodash": "^4.14.149",
"@types/node": "^12.12.11",
"@typescript-eslint/eslint-plugin": "^2.7.0",
"@typescript-eslint/parser": "^2.7.0",
"eslint": "^6.1.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.7.0",
@@ -23,9 +44,6 @@
"ts-node": "^8.5.2",
"typescript": "^3.7.2"
},
"scripts": {
"start": "nodemon --exec ts-node --files src/index.ts"
},
"_moduleDirectories": [
"src"
],