This was refered from udemy course https://sapient.udemy.com/course/the-complete-nodejs-developer-course-2 Git url is https://github.com/vkugithub/node-course-v3-code How to setup the node project.
Install Node Install npm if you want to use some modules from npm like validator Create configuration using npm init Install dependency like npm install validator if dependencies already in package.json then run npm install only it will install all the dependencies automatically Run js on node like node validator.js Validator module https://www.npmjs.com/package/validator
14 Nov 2019 chalk example npm install nodemon -g and use nodemon insted of node vaidator.js it will automatically restart the application for any change.