Добавить
Уведомления

How to Create a NodeJS Login System Backend with Express and MongoDB - #2

We create a node js login system backend with express and mongodb, starting with login and signup. Part 2. GET SOURCE CODE ?⬇️ ? Get this Project Source Code - https://bit.ly/ttpc-nodejs-login ? All Other Source Codes & Support - https://bit.ly/ttpc-monthly-access NOTES ? The created NodeJs and MongoDB backend APIs are tested using Postman. ? Packages installed in the video using "yarn add ... " can be equally installed using "npm install … “. VIDEO RESOURCES ? Regular expressions used: - /^[a-zA-Z ]*$/ for name. - /^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/ for email. LET’S WORK ? You can reach me at - https://www.tothepointcode.com/contact CHECK OUT THESE HELPFUL TUTORIALS ? Complete React and Node JS Login System - https://youtube.com/playlist?list=PLk8gdrb2DmChrL50moKeFNAVnFqZ3GLF7 ? Node JS Projects - https://youtube.com/playlist?list=PLk8gdrb2DmCh7bDI-OzoUSkWUxQg0n5A_ ? React Native Projects - https://youtube.com/playlist?list=PLk8gdrb2DmChwoNzs5n2iAvqak4-euA5H ? Publishing Expo React Native App to Play Store Journey - https://youtube.com/playlist?list=PLk8gdrb2DmCjsRsDIwMBJdf350qKMiJ8R ? PHP Project - https://youtube.com/playlist?list=PLk8gdrb2DmCjGHFH1iQxdJUTWsxyceSO0 TOOLS USED ? Tool for my thumbnail & images - https://partner.canva.com/ttpc ? Cheap website domain name - https://namecheap.pxf.io/ttpc FOLLOW US ON: ? Twitter - https://twitter.com/ToThePointCode ? Instagram - https://www.instagram.com/invites/contact/?i=1nbjm5bt0glsc&utm_content=ivnmcsm ? GitHub - https://github.com/tothepointcode ? YouTube - https://www.youtube.com/channel/UCWUk0Y_h1bLvB8qLZ4lAS8A?sub_confirmation=1 CHAPTERS 00:00 Intro & Preview 00:09 Handling Signup Route 02:04 Validating Inputs with Regex 04:12 Password Validation 04:41 Signup with Mongoose model 06:55 Preventing Duplicate users 07:44 Password hashing with bcrypt 09:15 Saving new user in MongoDB 10:44 Testing Signup in Postman 12:05 Handling Login Route 13:32 Retrieving and Verifying Hashed Password 14:59 Testing Login in Postman 16:16 Conclusion #tothepointcode #loginsystem #nodejs

Иконка канала Реактивные Тайны
14 подписчиков
12+
16 просмотров
2 года назад
12+
16 просмотров
2 года назад

We create a node js login system backend with express and mongodb, starting with login and signup. Part 2. GET SOURCE CODE ?⬇️ ? Get this Project Source Code - https://bit.ly/ttpc-nodejs-login ? All Other Source Codes & Support - https://bit.ly/ttpc-monthly-access NOTES ? The created NodeJs and MongoDB backend APIs are tested using Postman. ? Packages installed in the video using "yarn add ... " can be equally installed using "npm install … “. VIDEO RESOURCES ? Regular expressions used: - /^[a-zA-Z ]*$/ for name. - /^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/ for email. LET’S WORK ? You can reach me at - https://www.tothepointcode.com/contact CHECK OUT THESE HELPFUL TUTORIALS ? Complete React and Node JS Login System - https://youtube.com/playlist?list=PLk8gdrb2DmChrL50moKeFNAVnFqZ3GLF7 ? Node JS Projects - https://youtube.com/playlist?list=PLk8gdrb2DmCh7bDI-OzoUSkWUxQg0n5A_ ? React Native Projects - https://youtube.com/playlist?list=PLk8gdrb2DmChwoNzs5n2iAvqak4-euA5H ? Publishing Expo React Native App to Play Store Journey - https://youtube.com/playlist?list=PLk8gdrb2DmCjsRsDIwMBJdf350qKMiJ8R ? PHP Project - https://youtube.com/playlist?list=PLk8gdrb2DmCjGHFH1iQxdJUTWsxyceSO0 TOOLS USED ? Tool for my thumbnail & images - https://partner.canva.com/ttpc ? Cheap website domain name - https://namecheap.pxf.io/ttpc FOLLOW US ON: ? Twitter - https://twitter.com/ToThePointCode ? Instagram - https://www.instagram.com/invites/contact/?i=1nbjm5bt0glsc&utm_content=ivnmcsm ? GitHub - https://github.com/tothepointcode ? YouTube - https://www.youtube.com/channel/UCWUk0Y_h1bLvB8qLZ4lAS8A?sub_confirmation=1 CHAPTERS 00:00 Intro & Preview 00:09 Handling Signup Route 02:04 Validating Inputs with Regex 04:12 Password Validation 04:41 Signup with Mongoose model 06:55 Preventing Duplicate users 07:44 Password hashing with bcrypt 09:15 Saving new user in MongoDB 10:44 Testing Signup in Postman 12:05 Handling Login Route 13:32 Retrieving and Verifying Hashed Password 14:59 Testing Login in Postman 16:16 Conclusion #tothepointcode #loginsystem #nodejs

, чтобы оставлять комментарии