node_express_mongo

Orlando Gomez Lopez

used commands

npm init

initialize the app

npm install --save express

install express for production

nodejs

command to run the application. Check the localhost:5000/ to see

the app running in the browser

sudo npm install -g nodemon

install nodemon to detect changes in the code and update the

current deployment without restarting nodejs

nodemon

command to activate the continous deployment

npm start

include "start": "nodemon" inside the package.json file

in the scripts area.

this code activates the command nodemon for

continous deployment