In this tutorial, we'll use Mongoose JS to create Schemas that will define the shape and types of our MongoDB data. We'll also create Mongoose JS data models that will allow our app to interact with our data collections and documents stored in MongoDB. Finally, we'll apply the data model to the user registration route in our Node.js and Express REST API. If you're just getting started with Node.js, I suggest starting at the beginning of this Node.js Tutorials for Beginners series here: th-cam.com/play/PL0Zuz27SZ-6PFkIxaJ6Xx_X46avTM1aYw.html
I so much appreciate your tutorials... And I want to thank you for the time and effort to make these explanatory examples and in a way so that we can understand and further use these techniques. It was your tutorials on nodejs and etc. that gave me the right base so to have the desire to learn and gain experience with more practice. 🙏
Thank you so much, Vladislava! Comments like yours keep me going. I started this channel to help others learn, and it is great to know that's what I am doing. 💯
Quick question: I've noticed in this series we are hashing the users password in the backend. Is it safe sending the user's password on a http request to the backend without hashing it from the frontend?
Hi Dave, I can not find the next part ot this tutorial which you mentioned in this video at the end (after refactor with MongoDB auth), is it available? many thx I love all your videos! great job
Thanks for the suggestion! 🙏 💯 Have you also looked at MongoDB University? They offer free courses for developers with a certification upon completion: university.mongodb.com/
@@ayushgandhi577 you're welcome! When you get to the dev course, there are also language choices like JS, Python, etc. I think it has been updated since, but I took it with Python about 3 years ago.
Hello, if you look at the starter source code link in the description, you will see how CORS is set up. Also note that body parser is outdated. The starter source code has the middleware for parsing json and cookies applied. You can go back through the following playlist to see how everything was built: th-cam.com/play/PL0Zuz27SZ-6PFkIxaJ6Xx_X46avTM1aYw.html
In this tutorial, we'll use Mongoose JS to create Schemas that will define the shape and types of our MongoDB data. We'll also create Mongoose JS data models that will allow our app to interact with our data collections and documents stored in MongoDB. Finally, we'll apply the data model to the user registration route in our Node.js and Express REST API. If you're just getting started with Node.js, I suggest starting at the beginning of this Node.js Tutorials for Beginners series here: th-cam.com/play/PL0Zuz27SZ-6PFkIxaJ6Xx_X46avTM1aYw.html
wow, this is interesting
this is nice, but i would like to see the video before this one. did you take it down?
You have explained so much in depth and so easily that even beginner like me understood everything
That's great to hear! Thank you for the comment. 💯
Great tutorial as usual ! Leaning through your courses, I’m improving not only my programming skills but also my English as well😁
Good job! Keep it up! 💯
Same here
Thanks for the cool tutorial, it's great that such videos available in the public!
You're welcome! 💯
Soon 10k subscribers. Well deserved.
Thank you, Ben!
Congratulations on your 1000th like!
I so much appreciate your tutorials... And I want to thank you for the time and effort to make these explanatory examples and in a way so that we can understand and further use these techniques. It was your tutorials on nodejs and etc. that gave me the right base so to have the desire to learn and gain experience with more practice. 🙏
Thank you so much, Vladislava! Comments like yours keep me going. I started this channel to help others learn, and it is great to know that's what I am doing. 💯
Nice message at the end of the video. 🙂
Amazing 🎉.There are two benifit, it improved my english and i coding...
Glad to hear that!
Amazing tutorial thank you
You're very welcome! 💯
Quick question: I've noticed in this series we are hashing the users password in the backend. Is it safe sending the user's password on a http request to the backend without hashing it from the frontend?
Nothing frontend is 100% safe, but I prefer hashing on the backend for storage. Send from the frontend using a post request.
@@DaveGrayTeachesCode Thank you. The content on your channel is amazing.Great stuff.
@@oryankibandi3556 thank you for the kind words!
pls a video explaining the relationship between models. pls
highly interesting
Which theme are you using? Also great video!
Thank you! I made a short about my theme choice: th-cam.com/users/shortsdp4u1NNFhtE
Hi Dave, I can not find the next part ot this tutorial which you mentioned in this video at the end (after refactor with MongoDB auth), is it available? many thx I love all your videos! great job
Thank you! Here's the full playlist: th-cam.com/play/PL0Zuz27SZ-6PFkIxaJ6Xx_X46avTM1aYw.html
Sir, VsCode's intellisense is too laggy after installing mongoose. Do you have any idea about that? I didn't found any solution yet =\
Hi, where is your cods for downloading?
I checked and search everywhere I could. You said its available for downloading.
There are two links in the description labeled "Starter Source Code" and "Completed Source Code".
I hope you will create a tutorial on mongodb advance topic like aggregation and sharding in future as well😀
Thanks for the suggestion! 🙏 💯 Have you also looked at MongoDB University? They offer free courses for developers with a certification upon completion: university.mongodb.com/
@@DaveGrayTeachesCode Wow, I don't know about these free MongoDB courses.
Thanks, Dave
@@ayushgandhi577 you're welcome! When you get to the dev course, there are also language choices like JS, Python, etc. I think it has been updated since, but I took it with Python about 3 years ago.
@@DaveGrayTeachesCode Great source to learn mongo db! Thanks.
@@DaveGrayTeachesCode Thanks for the link Dave, I must have a look.
Hi, for anyone who's trying to call the route and for some reason the request failing, try to add the cors, origins and body parser.
Hello, if you look at the starter source code link in the description, you will see how CORS is set up. Also note that body parser is outdated. The starter source code has the middleware for parsing json and cookies applied. You can go back through the following playlist to see how everything was built: th-cam.com/play/PL0Zuz27SZ-6PFkIxaJ6Xx_X46avTM1aYw.html
@@DaveGrayTeachesCode Thank you. I forgot to say very good videos.
awesome tutorial man, very useful, the source code you provided too is also really nice, thank you
You are welcome!
{2023-10-11}