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

Показать описание
#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)
All materials (like pictures, gifs, and codes....) are provided on
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)
All materials (like pictures, gifs, and codes....) are provided on