Skip to content

Tag: mongodb

User Authentication in Node.js (Part 2 of 2)

Part 1:¬†https://jayvolr.me/2017/08/23/user-authentication-in-node-js-part-1-of-2/ The first part of this two part series walked you through setting up the login functionality of an authentication strategy using Express, passport.js and MongoDB. In this second part, you’ll learn how to allow new users to create an account, how to securely store passwords, and how to use Redis to store sessions. I’ll also create a small notes application at the end to show off our authentication system in action. Registration We’ll…