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: kzbin.info/aero/PL0Zuz27SZ-6PFkIxaJ6Xx_X46avTM1aYw
@demiontongov4319 Жыл бұрын
wow, this is interesting
@thescholar65119 ай бұрын
this is nice, but i would like to see the video before this one. did you take it down?
@yashwantg50453 жыл бұрын
You have explained so much in depth and so easily that even beginner like me understood everything
@DaveGrayTeachesCode3 жыл бұрын
That's great to hear! Thank you for the comment. 💯
@yoshi81713 жыл бұрын
Great tutorial as usual ! Leaning through your courses, I’m improving not only my programming skills but also my English as well😁
@DaveGrayTeachesCode3 жыл бұрын
Good job! Keep it up! 💯
@ahmad-murery3 жыл бұрын
Same here
@themixmaster3 жыл бұрын
Thanks for the cool tutorial, it's great that such videos available in the public!
@DaveGrayTeachesCode3 жыл бұрын
You're welcome! 💯
@vladislavamarkova83793 жыл бұрын
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. 🙏
@DaveGrayTeachesCode3 жыл бұрын
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. 💯
@benarcher3723 жыл бұрын
Soon 10k subscribers. Well deserved.
@DaveGrayTeachesCode3 жыл бұрын
Thank you, Ben!
@nicolesyflaire2280 Жыл бұрын
Congratulations on your 1000th like!
@CarlosWashingtonMercado Жыл бұрын
Nice message at the end of the video. 🙂
@sayidradhinpm8761 Жыл бұрын
Amazing 🎉.There are two benifit, it improved my english and i coding...
@DaveGrayTeachesCode Жыл бұрын
Glad to hear that!
@sonamohialdin33762 жыл бұрын
Amazing tutorial thank you
@DaveGrayTeachesCode2 жыл бұрын
You're very welcome! 💯
@M.H.12-m2s7 ай бұрын
pls a video explaining the relationship between models. pls
@szymonrojek64802 жыл бұрын
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
@DaveGrayTeachesCode2 жыл бұрын
Thank you! Here's the full playlist: kzbin.info/aero/PL0Zuz27SZ-6PFkIxaJ6Xx_X46avTM1aYw
@Viral_noob5 ай бұрын
highly interesting
@AmitKumar-tw1sj2 жыл бұрын
Which theme are you using? Also great video!
@DaveGrayTeachesCode2 жыл бұрын
Thank you! I made a short about my theme choice: kzbin.infodp4u1NNFhtE
@oryankibandi35563 жыл бұрын
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?
@DaveGrayTeachesCode3 жыл бұрын
Nothing frontend is 100% safe, but I prefer hashing on the backend for storage. Send from the frontend using a post request.
@oryankibandi35562 жыл бұрын
@@DaveGrayTeachesCode Thank you. The content on your channel is amazing.Great stuff.
@DaveGrayTeachesCode2 жыл бұрын
@@oryankibandi3556 thank you for the kind words!
@pablovaldes23972 жыл бұрын
awesome tutorial man, very useful, the source code you provided too is also really nice, thank you
@DaveGrayTeachesCode2 жыл бұрын
You are welcome!
@ayushgandhi5773 жыл бұрын
I hope you will create a tutorial on mongodb advance topic like aggregation and sharding in future as well😀
@DaveGrayTeachesCode3 жыл бұрын
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/
@ayushgandhi5773 жыл бұрын
@@DaveGrayTeachesCode Wow, I don't know about these free MongoDB courses. Thanks, Dave
@DaveGrayTeachesCode3 жыл бұрын
@@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.
@yoshi81713 жыл бұрын
@@DaveGrayTeachesCode Great source to learn mongo db! Thanks.
@ahmad-murery3 жыл бұрын
@@DaveGrayTeachesCode Thanks for the link Dave, I must have a look.
@UHTWW2 жыл бұрын
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.
@DaveGrayTeachesCode2 жыл бұрын
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: kzbin.info/aero/PL0Zuz27SZ-6PFkIxaJ6Xx_X46avTM1aYw
@UHTWW2 жыл бұрын
@@DaveGrayTeachesCode Thank you. I forgot to say very good videos.
@sakamoshikaka99392 жыл бұрын
Hi, where is your cods for downloading? I checked and search everywhere I could. You said its available for downloading.
@DaveGrayTeachesCode2 жыл бұрын
There are two links in the description labeled "Starter Source Code" and "Completed Source Code".
@memduhcevik Жыл бұрын
Sir, VsCode's intellisense is too laggy after installing mongoose. Do you have any idea about that? I didn't found any solution yet =\