Authentication demo using cookies on nodejs and expressjs ( register, login, logout )
$ npm init //making package.json $ npm install --save express //installing express $ npm install --save express-handlebars //using hbs for machine view $ npm install --save body-parser cookie-parser //parse HTTP request bodies and parse the required cookies for authentication:
$ node app.js