Hooks and Methods in Mongoose with JWT Integration
Offered By: Hitesh Choudhary via YouTube
Course Description
Overview
Explore advanced Mongoose hooks and methods while integrating JWT for secure authentication in a Node.js backend. Learn to implement pre and post hooks for tasks like password encryption with bcrypt before saving to MongoDB. Create custom Mongoose schema methods for password verification and JWT token generation. Enhance backend security by implementing access and refresh tokens for stateless authentication. Follow step-by-step instructions to master middleware, encryption, and token generation techniques, improving the functionality and security of your Node.js applications.
Syllabus
Intro
Middleware
Models
User Model
Methods
Access Token
Taught by
Hitesh Choudhary
Related Courses
MongoDB for DevelopersMongoDB University MongoDB for DBAs
MongoDB University MongoDB for Java Developers
MongoDB University M101P: MongoDB for Developers
MongoDB University MongoDB for Node.js Developers
MongoDB University