node-mongo-demo

node.js and mongodb demo

git clone https://9o.is/git/node-mongo-demo.git

package.json

(862B)


      1 {
      2   "name": "backend",
      3   "version": "1.0.0",
      4   "description": "Nodejs MongoDB Demo",
      5   "main": "index.js",
      6   "type": "module",
      7   "scripts": {
      8     "start": "node index.js",
      9     "db": "node scripts/mongodb-development.js",
     10     "test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest unit",
     11     "test:integration": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest int --config=jest.int.config.json",
     12     "repl": "node"
     13   },
     14   "author": "Jul",
     15   "license": "ISC",
     16   "dependencies": {
     17     "axios": "^1.6.5",
     18     "bcryptjs": "^2.4.3",
     19     "body-parser": "^1.20.2",
     20     "cors": "^2.8.5",
     21     "dotenv": "^16.3.2",
     22     "express": "^4.18.2",
     23     "joi": "^17.13.3",
     24     "jsonwebtoken": "^9.0.2",
     25     "mongoose": "^8.1.0"
     26   },
     27   "devDependencies": {
     28     "jest": "^29.7.0",
     29     "mongodb-memory-server": "^10.1.3",
     30     "supertest": "^7.0.0"
     31   }
     32 }