Skip to content

Instantly share code, notes, and snippets.

@bbachi
Created February 12, 2019 22:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bbachi/e1391e5c2d5c7eeafc81b9ea29fac037 to your computer and use it in GitHub Desktop.
Save bbachi/e1391e5c2d5c7eeafc81b9ea29fac037 to your computer and use it in GitHub Desktop.
How to write production ready Node.js Rest API With javascript-package.json-v2
{
"name": "user_api",
"version": "1.0.0",
"description": "sample rest api",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Bhargav Bachina",
"license": "ISC",
"dependencies": {
"express": "^4.16.4"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment