JWT
Json Web Token
JWT consists of 3 parts
Header.payload.signature
Installing JWT on NodeJS
npm install jsonwebtoken –save
References
https://www.codementor.io/olatundegaruba/5-steps-to-authenticating-node-js-with-jwt-7ahb5dmyr
https://www.codementor.io/olatundegaruba/nodejs-restful-apis-in-10-minutes-q0sgsfhbd
https://github.com/generalgmt/RESTfulAPITutorial/tree/authentication
http://thejackalofjavascript.com/architecting-a-restful-node-js-app/