User Authentication in NodeJS using Passport.js (local strategy)
In this article we will learn how to implement user authentication in NodeJS using passport.js which is a authentication middleware and is extremely flexible and modular. In this tutorial we will create a simple NodeJS backend using express with just registration and login functionality to understand the use of passport.js in authentication. In previous article…