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 ✅ - Full JavaScript Course (Free)
Previous Post Next Post