Skip to content

Instantly share code, notes, and snippets.

@paulobunga
Created December 18, 2019 00:45
Show Gist options
  • Save paulobunga/8be2df14a37e31bab0964e8220e74a94 to your computer and use it in GitHub Desktop.
Save paulobunga/8be2df14a37e31bab0964e8220e74a94 to your computer and use it in GitHub Desktop.
Modify your package.json as below
{
"name": "node_api",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "node index",
"start:dev": "nodemon index"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"body-parser": "^1.19.0",
"express": "^4.17.1",
"mongoose": "^5.8.1"
},
"devDependencies": {
"nodemon": "^2.0.2"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment