Getting ready

Let's replace our simple Author model implementation with a full User model. This means we will need to add support for handling and authenticating the password property. For this, we will need to install and save as a dependency in our application's package.json file the bcrypt encryption library to perform salting and hashing on our saved passwords:

npm install bcrypt --save
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.142.196.223