Setup passportjs for local authentication and authorization using expressjs

Signup and login are the most com­monly found use cases in web appli­ca­tions. In this post, I will doc­u­ment how you can use Pass­portjs to setup authen­ti­ca­tion and autho­riza­tion for your appli­ca­tions locally. Passportjs…