How to Insert Data in the MongoDB Database and encrypt the password as well | Expressjs, and MongoDB

Опубликовано: 21 Август 2023
на канале: Programming Insider
130
22

#react #nodejs #expressjs

This video explores how to insert/ store user data into the MongoDB database by using Express and Mongoose. While we store user information on the database we encrypt the password and validate other inputs, always security is first!

Contents of the video
00:00 - Intro
00:15 Inputs Validation
10:10 Create MongoDB database
17:44 Create Mongoose Schema and Mongoose Model
21:58 Store/ Insert Data in MongoDB Database
44:04 Checking If there is a registration by the email
48:00 Encrypt Password by using bcryptjs
52:01 Encrypt Password in Mongoose middleware (recommended)

🔥Get to know How to Display Data From MongoDB Database by Authenticating Token➡️   • How to Display Data From MongoDB Data...  

🔥Get to know How to Login and Logout by Generate (JWT) JSON Web Token➡️   • How to Login and Logout By Generate (...  

All materials (like pictures, gifs, and codes....) are provided on
• Telegram: https://t.me/programmingInsider/44
• GitHub: https://github.com/ProgrammingInsider...

Subscribe to my channel to support me https://www.youtube.com/@ProgrammingI...


Смотрите видео How to Insert Data in the MongoDB Database and encrypt the password as well | Expressjs, and MongoDB онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Programming Insider 21 Август 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 13 раз и оно понравилось 2 людям.