Skip to content

Node JS

kitiya edited this page Mar 12, 2020 · 7 revisions
npm init -y

nodemon

Nodemon is a utility that will monitor for any changes in your source and automatically restart your server. Perfect for development.

npm install nodemon --save

Express.js

Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.

npm install express

Express Middleware

body-parser

body-parser is Node.js body parsing middleware.

Parse incoming request bodies in a middleware before your handlers, available under the req.body property.

npm install body-parser

Other Dependencies

CORS

CORS is a node.js package for providing a Connect/Express middleware that can be used to enable CORS with various options.

npm i cors

bcrypt-nodejs (Deprecated)

npm i bcrypt-nodejs

Clone this wiki locally