In this series of tutorials we will develop a complete login, registration and authentication system with Node.js and MongoDBdatabase. We already have a old tutorial published two years back. This will be a updated one with latest code.
Some changes and features when compared to the old one,
-> Use JSON Web Token for session handling.
-> Passwords are hashed using Bcrypt hashing algorithm.
-> Basic Authentication for login authentication.
-> Use ES6 syntax and Promises instead of callbacks.
The ES6 Features we use are,
-> Promises
-> Arrow functions
-> const and let identifiers instead of var
Note :
ES6 is the latest revision of JavaScript which was released in 2015.