Add mock data + Fix package.json not pushed + Add REST requests

This commit is contained in:
Andrew Trieu
2023-07-11 22:12:25 +03:00
committed by Andrew Trieu
parent a25ea2d90a
commit f3d5ce2524
12 changed files with 2648 additions and 9 deletions

View File

@@ -1,14 +1,28 @@
{
"dependencies": {
"gridfs-stream": "^1.1.1"
"bcrypt": "^5.1.0",
"body-parser": "^1.20.2",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"gridfs-stream": "^1.1.1",
"helmet": "^7.0.0",
"jsonwebtoken": "^9.0.1",
"mongoose": "^7.3.2",
"morgan": "^1.10.0",
"multer": "^1.4.4",
"multer-gridfs-storage": "^5.0.2"
},
"devDependencies": {
"nodemon": "^2.0.12"
},
"type": "module",
"name": "server",
"version": "1.0.0",
"main": "index.js",
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"start": "nodemon index.js"
},
"keywords": [],
"author": "",