node-express-mongodb-jwt-rest-api-skeleton
Version:
Node.js express.js MongoDB JWT REST API - This is a basic API REST skeleton written on JavaScript using async/await. Great for building a starter web API for your front-end (Android, iOS, Vue, react, angular, or anything that can consume an API)
43 lines (42 loc) • 1.04 kB
JSON
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch nodemon in debug",
"type": "node",
"request": "launch",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/nodemon",
"program": "${workspaceFolder}/server.js",
"restart": true,
"protocol": "inspector",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"port": 9230
},
{
"name": "Launch mocha test in debug",
"request": "launch",
"runtimeArgs": ["run", "mocha", "${relativeFile}"],
"runtimeExecutable": "npm",
"skipFiles": ["<node_internals>/**"],
"type": "node",
"env": {
"PORT": "3111"
}
},
{
"name": "Launch jest in debug",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeArgs": [
"--inspect-brk",
"node_modules/.bin/jest",
"--runInBand",
"--config=jest.config.js",
"${file}"
],
"port": 9231
}
]
}