Do Consider Joining our patron page for special and on-demand lectures and solutions, to keep us moving and rolling out more content. A dollar a month will make my life easy, or 50 INR per month will make the video flow more easily.
Patron: https://www.patreon.com/codebook_inc
PhonePay: +91-6360535414@ybl
Paytm: +91-6360535414
In this part, we are going to create a User Model and also we will add mongoose methods to the UserSchema and mongoose hooks, with features like.
- Function to generate Password Reset Token
- Function to issue a JSON web token authentication Token
- Function to serialize user data with lodash library
- User Registration input validation using Express-Validator Package
Github Repository: https://github.com/nandymandy1/complete-user-auth-tutorial.git
Follow Us
Facebook Username: mauryanarendra11
Twitter Handle: narendraDev95
Github Handle: nandymandy1
Intro: (0:00)
Express Server and Database Connection: (0:30)
User Model and Schema Methods: (9:40)
Validation Rules for User Inputs: (24: 00)
User API Setup: (27:49)
Download
0 formats
No download links available.
Node Express REST API | Full User Authentication System | Part 2 - User Model and Validations | NatokHD