adds code


This is the 16th lesson of a short course aimed at learning how to setup Passport Local Authentication Strategy in a Node.js API. In this lesson, we do the work necessary to create a mock DB. We create a class in our Node.js API and add static properties and methods to the class that we can use in our User.js file to mock DB operations. This becomes useful when implementing that actual authentication logic for passport in the Node Express server. ✅ - Full Course Playlist https://www.youtube.com/playlist?list=PLUUOvUPrFYcjel-IKiAQY4coJJ9EUjfcP ✅ - Full JavaScript Course (Free) https://academy.devshack.tech/courses/journey-into-javascript
Previous Post Next Post