Added README and test

This commit is contained in:
Naida Vatric
2019-11-04 20:19:33 +01:00
parent a43ac6f27a
commit 0d525d486e
19 changed files with 1517 additions and 64 deletions

View File

@@ -5,8 +5,9 @@
"main": "permissions.js",
"scripts": {
"start": "nodemon permissions.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"test": "mocha test/apitest.js"
},
"author": "",
"license": "ISC",
"dependencies": {
@@ -15,7 +16,13 @@
"express": "^4.17.1",
"express-validator": "^6.2.0",
"knex": "^0.20.0",
"pg": "^7.12.1"
"pg": "^7.12.1",
"chai": "^4.1.2",
"chai-http": "4.2.1",
"mocha": "^5.2.0",
"mochawesome": "^3.0.2",
"supertest": "^3.1.0",
"tv4": "^1.3.0"
},
"devDependencies": {
"nodemon": "^1.19.4"