Node.js Tutorial for Beginners #16: Hash the password using Bcryptjs

Опубликовано: 21 Май 2026
на канале: Learn, Think & (Create) Code
70
0

Node.js Tutorial for Beginners #16: Hash the password using Bcryptjs

Hi, thanks for watching this video. In this video, I have created an api for registering the user to mongodb collection.

You will learn about the following topics in this video.

1) What is Bcryptjs
2) How to install Bcryptjs in the node.js application
3) What is a pre save function in a mongoose model
4) How to write a pre save function in a mongoose model
5) How to hash the password and store it to the database


How to install Node.js and NPM on windows

   • How to install Node.js and NPM on windows  

How to switch between node versions using NVM

   • How to switch between node versions using NVM  

how to update NodeJS to latest version

   • how to update NodeJS to latest version  

How to install/uninstall node modules using npm

   • How to install/uninstall node modules usin...  

How to setup a basic express server

   • How to setup a basic express server  

How To Use Dotenv To Configure Your Nodejs Environment

   • How To Use Dotenv To Configure Your Nodejs...  

how to install & use nodemon in your node.js application

   • how to install & use nodemon in your node....  

How to connect nodejs with mongodb

   • How to connect nodejs with mongodb  

Mongoose vs Mongodb node.js driver

   • Mongoose vs Mongodb node.js driver  

Learn How to Create Schema in Mongoose - the EASY Way!

   • Learn How to Create Schema in Mongoose - t...  

ABOUT MY CHANNEL

My channel is about teaching how to develop projects with the Frontend and Backend technologies easily. I have covered lot of cool stuffs especially for the beginners.
Check out my channel here:
   / @learnthinkcreatecode  
Don't forget to subscribe!

CHECK OUT MY OTHER VIDEOS

Parking Management System Backend:    • Parking Management System - Backend using ...  
Parking Management System Frontend:    • Parking Management System - Frontend  
Visitors Management System Backend:    • Visitors Management system  
Visitors Management System Frontend:   • Visitors Management System - Frontend  


Please visit this website if you are planning for tour and travel. I may receive a small commission for bookings made through these website.

For Cheap Flights booking: https://letstourandtravel.com/
For Hotel bookings: https://letstourandtravel.com/hotels/
For Cruises bookings: https://letstourandtravel.com/cruise/
For amazon products: https://letstourandtravel.com/shop/

Thank you guys for your love and support.

#nodejstutorialforbeginners #nodejstutorial #mongodbtutorialforbeginners #mongodbtutorial #mongoose #nodejs
#bcryptjs

Bcryptjs official documentation: https://www.npmjs.com/package/bcryptjs