Mongoose Crash Course - Beginner Through Advanced

  Рет қаралды 469,891

Web Dev Simplified

Web Dev Simplified

Күн бұрын

Пікірлер: 452
@centrumsaiyan7623
@centrumsaiyan7623 Жыл бұрын
Came here after your MongoDB crash. Man, I just want to let you know, you have taken so many extra miles to give your viewer nothing but your absolute best. I'm glad I am spending hours from my life watching your content. Thank you for your service, Kyle.
@cm-a-jivheshchoudhari9418
@cm-a-jivheshchoudhari9418 Жыл бұрын
same lmao
@wisdomsamuel-pe2fm
@wisdomsamuel-pe2fm Жыл бұрын
❤❤❤
@immiketyson
@immiketyson 7 ай бұрын
He is the only guy that makes our KZbin screentime actually usefull, so it doesn't count as gen z screen time
@Arabi_Quest
@Arabi_Quest 3 ай бұрын
exactly
@thiagovilla970
@thiagovilla970 21 күн бұрын
@@immiketyson haha good one!!
@Berkeli
@Berkeli 2 жыл бұрын
This is a goldmine, this video has got to have the highest value per second watched ever. Thank you Kyle! I'm not even kidding when I say you answered some of the questions that keep me awake at night in a 30 Min video
@spreadItWide
@spreadItWide 2 жыл бұрын
Kyle always reading minds! I was just taking a break from brushing up on mongoose! Lol just spent 20 minutes trying to update an item in a nested array, I made it wayyyy harder than it really was... but I'll just brush up with this video now. Thank you my man!
@mrdoner3451
@mrdoner3451 2 жыл бұрын
its ok, i still cant write a for loop from memory.
@spreadItWide
@spreadItWide 2 жыл бұрын
@@mrdoner3451 lol as long as we can get to stackoverflow!
@zakariaabdi6197
@zakariaabdi6197 2 жыл бұрын
@@mrdoner3451 me same
@N451M4K
@N451M4K 2 жыл бұрын
its google reading your brain
@lie456890
@lie456890 2 жыл бұрын
@@mrdoner3451 😀
@kllokoq
@kllokoq 2 жыл бұрын
Another way to add createdAt and updatedAt, is to just add a second argument to Schema( ), an object with a property timestamps set to true! Fantastic tutorial!
@mdirshath4174
@mdirshath4174 2 жыл бұрын
I love your crash course series, whenever I forget about anything I straight away check your videos to get started. Thank you so much.
@CodeWithSahand
@CodeWithSahand 2 жыл бұрын
This is an excellent video. Just enough information to get you started. 👌
@Someone-ct2ck
@Someone-ct2ck 2 жыл бұрын
roasting or praising.
@dave6012
@dave6012 2 жыл бұрын
This should be a whole series! You could flesh out each of those concepts into real world scenarios. Much appreciated for filling the gaps in my mongoose acumen 🙌
@yonatansagi2245
@yonatansagi2245 2 жыл бұрын
WŴQaQawWWAa2w2Aŵwqawaŵwqw 2qwa
@mrumidjontv6235
@mrumidjontv6235 Жыл бұрын
Saying "Thank you" is not enough for your effort. You are amazing mentor on youtube ever!!! God bless you, bro. Keep goin!!!
@akremevolution4459
@akremevolution4459 2 жыл бұрын
Best mongoose crash course on the internet and even better than a complete course that I took on Udemy. Thank you Kyle
@KVN1372_DEVELOPER
@KVN1372_DEVELOPER 10 ай бұрын
Yeah my comment is the same
@tesla1772
@tesla1772 2 жыл бұрын
Momgoose schema also provides an timestamp option which when set to true creates createdAt and updatedAt property on its own
@alirida3428
@alirida3428 8 ай бұрын
This is my first time using mongoose and this video gave me everything I needed even though I had no prior knowledge. ABSOLUTE BEST, keep up the good work man!!
@mosabama
@mosabama 2 жыл бұрын
Best Mongoose tutorial. Fast and to the point amd talks about almost everything. Thank you.
@jhunter34
@jhunter34 Жыл бұрын
I've watched a number of your videos, you have a real knack for getting straight to heart of how things work, and how to use them. Many thanks my friend!
@SafaKadir
@SafaKadir Жыл бұрын
I love the way you explain everything simple and clear. Also you're not passing the advanced topics, instead explaining them really good which is awesome. Thanks
@ShuAbLe
@ShuAbLe Жыл бұрын
Thanks for the tutorials. I've started here, gone back to another video you referenced about async await, gone back from there again to another video you referendec about promises, then back to here and it's all making sense to me right now. I can't believe I went through an entire udemy "complete web development" course without learning about async and promises.
@guillegt7983
@guillegt7983 2 жыл бұрын
Kayle, once again, an incredible tutorial. Congratulations. An excellent work. Your tutorials are helping me a lot in my new job where I´m developing basic apps with MEAN stack. I haven´t got a formal education in this topic and your work help tremendously. Thank you very much for shearing you knowledge. How I´d wish to program the way you do !!!! :) Thanks again from Argentine. Best regards Guille.
@themixmaster
@themixmaster 2 жыл бұрын
Thank you very much, I was looking for a good mongoose tutorial, and now I'm very lucky that my favorite teacher posted a new video on this topic!
@Ninjaphil24
@Ninjaphil24 Жыл бұрын
Truly excellent work. I took your mongoDB course as well. You've been such a help generally!!
@shash0_0
@shash0_0 6 ай бұрын
So much value packed in one video, it's unreal. Thank you for this.
@bonnieowens9531
@bonnieowens9531 2 жыл бұрын
Every one of your videos that I watch help me break through my coding walls. Thanks for your content!
@ckiv1992
@ckiv1992 2 жыл бұрын
definitely needed this. I've been so lost on the mongodb, node, and express thing due to not fully understanding mongoose. You the mvp webdev 👍👍👍
@zamap4278
@zamap4278 Жыл бұрын
I've been doing FCC's backend course but I really had no idea how to handle saving models or anything in their entire mongoose unit. I'm glad I have your videos though, I love the way you teach bro
@gregudogu7079
@gregudogu7079 2 жыл бұрын
Thank you Kyle. I was working on a project and ran into some issues. Grateful I bumped into this video.
@mouradMsaken
@mouradMsaken 7 ай бұрын
Thank you for this great video! I would like to add a comment about the difference between virtual methods and regular methods : both provide ways to add functionality to Mongoose schemas. Virtual methods are mainly used for defining computed properties, while regular methods are used for defining reusable functionality (in this video it was displaying a log message).
@theone3746
@theone3746 2 жыл бұрын
I need help. I am getting "const err = new MongooseError(message);" and "MongooseError: Operation `users.insertOne()` buffering timed out after 10000ms". I have not made it passed 6:39 because of this.
@Virtualexist
@Virtualexist Жыл бұрын
Very nice tutorial. I had to watch it in 0.8x to actually let things percolate in mind! It is amazing how someone is so intelligent, good looking, eloquent and so much more at the same time. You earned a subsriber and a fan sir!
@tarekcoates7701
@tarekcoates7701 2 жыл бұрын
I was stuck on this specific topic for so long and couldn't find the information until now, thank you so much!
@tarekcoates7701
@tarekcoates7701 2 жыл бұрын
Great video
@sunilanthony17
@sunilanthony17 2 жыл бұрын
Your teaching skill is awesome. Love it, wish I was more involved on the front end and using NoSQL.
@anikstudy9507
@anikstudy9507 2 жыл бұрын
Loved the fact that the cheat sheet has both Dark and Light version. Thanks a lot!
@jatinvashisht4293
@jatinvashisht4293 2 жыл бұрын
just completed the course: Hands down the best course I ever encountered on mongoose
@Sapphiamur
@Sapphiamur 2 жыл бұрын
Amazing explanations, thank you so much :)!!
@cold_
@cold_ Жыл бұрын
Nice video Kyle, your were really cooking with this video.
@karenavdalyan3647
@karenavdalyan3647 2 жыл бұрын
This is one of the best tutorials I have ever watched)) The speed of explanation is also fantastic
@tech3425
@tech3425 Жыл бұрын
You really convey so much in so little time! I saw your MongoDB course earlier, that one was the same thing! Nice to have a concise resource like yours. You can watch one vid and be confident that you are aware of most of the capabilities of the software.
@paolodt7588
@paolodt7588 2 жыл бұрын
just what i was willing to learn today ... you're a master ... just don't rush ... our first language is not always english ... is already difficult to learn programming ... tx for u effort
@nextentrepreneur9288
@nextentrepreneur9288 2 жыл бұрын
He can't make everybody fit in, you'll need to develop your english ear more
@chinmayghule8272
@chinmayghule8272 Жыл бұрын
So, I'm using "mongoose": "^6.9.0", and these were the things I've encountered: Mongoose implicitly type casts while enforcing it's schema. Thus, if a name field is of [type: String], and you enter [name: 4], where 4 is a number, there won't be any errors, since mongoose will typecast 4 to "4". We can add [cast: false] to each field while defining the schema to tell mongoose that we don't want it to type cast it. After doing this you might get an error for the [createdAt] field, (if you are following the tutorial exactly). Here you might want to change the arrow function, from [() => Date.now()] to [() => new Date()]. The former gives you the total time passed from 1970 in seconds or something, and the latter gives you the date in standard format. (typeof Date.now() === 'Number') Also note that mongoose doesn't save the fields that are not present on the schema definition.
@Rel3D
@Rel3D 5 ай бұрын
Thank you so much for your work! Keep up the great effort we all really appreciate it!!!❤❤❤
@aryankhullar7101
@aryankhullar7101 2 жыл бұрын
Needed this since a long time , many tutorials were a bit outdated. Thank you!
@李俊奇-d3o
@李俊奇-d3o 3 ай бұрын
小伙长的真帅,感谢您的分享,让我快速的了解了mongoose.
@hadipawar2539
@hadipawar2539 2 жыл бұрын
really looking forward to a Sequelize crash course! once again . awesome job!
@aram5642
@aram5642 2 жыл бұрын
That was a good piece of advice to always use save and create in order to keep the validation middleware active. But this makes it a bit cumbersome for PATCH requests where requests carry only partial payloads and you want to leave the rest unchanged.
@p._7555
@p._7555 Жыл бұрын
So focus, right to the point, so didactic and with the perfect timing dude👏👏👏
@daydreamical
@daydreamical 2 жыл бұрын
Very straightforward and well-paced guide covering a lot of stuff with explained examples. Thanks a ton!
@alexanderst.7993
@alexanderst.7993 Жыл бұрын
god bless you man, seriously you are probably the reason i got into web dev to begin with!
@mdmoazshamim4155
@mdmoazshamim4155 4 ай бұрын
Thanks Kyle for this wonderful Mongoose Crash Course ❣
@adiemar3974
@adiemar3974 2 жыл бұрын
again, what a very great lesson. everything you need to get started all packed in this simple short video.
@mrdaho11
@mrdaho11 2 жыл бұрын
your cheat sheet is extremely helpful ! I recommend it to everyone!! thanks for that free gift ! I'm slowly falling in love here xD keep up the great work!
@djchepkuta
@djchepkuta Жыл бұрын
Kyle is an alien😀😀😀😀. He knows everything in coding coz i follow this channel
@rajamuhammadasher
@rajamuhammadasher 2 жыл бұрын
Perfectly summarized. Good work Kyle
@emperoralthaf6264
@emperoralthaf6264 2 жыл бұрын
Hi Kyle that's awesome!. Can you make one video on advanced mongodb modelling, aggregation, and advanced topics like realm, datalake.. ? Thank you!
@zachfotis
@zachfotis Жыл бұрын
Thank you, Kyle. That was a really helpful and not a time-consuming tutorial.
@Sumaila2000
@Sumaila2000 8 ай бұрын
Hello bro, thank you for this. You deserve everything you wish for 👍
@sisyphusnot01
@sisyphusnot01 7 ай бұрын
heyo is this tutorial working for you because what i have seen is that the callbacks are deprecated in mongoose now.
@Sumaila2000
@Sumaila2000 7 ай бұрын
Yeah, it worked for me. Some things have changed but I was able to rectify it from the docs.
@sm1ley732
@sm1ley732 2 жыл бұрын
it doesn't matter if KZbin took down the dislike button, because I always give this dude a Like
@pretor89
@pretor89 2 жыл бұрын
Yes!! This is the video I’ve been looking for! Thank you
@rakshitkathawate8838
@rakshitkathawate8838 2 жыл бұрын
thanks, it was really good and quick overview before interview or even before starting out new project. Keep it up
@adriankaiser4642
@adriankaiser4642 Жыл бұрын
Excellent video! The content was delivered clearly and concisely! Thank you!
@adnanahmad1062
@adnanahmad1062 2 жыл бұрын
Kayle, once again, an incredible tutorial. Congratulations. An excellent work. Your tutorials are helping me a lot in my new projects. I haven´t got a formal education in this topic and your work help tremendously. Thank you very much for sharing your knowledge. Thanks again from pakistan. thanks and Best regards Adnan.
@krishnasudan3410
@krishnasudan3410 2 жыл бұрын
Literally I was just going to learn mongoose. 💓💕Thanks
@2029leandro
@2029leandro Жыл бұрын
So well explained! Thank you for this, I can now start using mongoose in my projects!
@musiclovers8488
@musiclovers8488 11 ай бұрын
you are awesome... but you are ultimate fast.. I always appreciate your videos... thanks for sharing
@Arabian_Abomination
@Arabian_Abomination 2 жыл бұрын
Thanks! The mongoose docs are one of the worst I’ve ever seen 😣 Really thankful for this tutorial!
@ali-celebi
@ali-celebi 2 жыл бұрын
Very good content covering all the fundamentals of Mongoose. Thanks a lot!
@きゅうとう-o6w
@きゅうとう-o6w 2 жыл бұрын
Best mongoose course on KZbin!!!!
@MilanTiwariMessi
@MilanTiwariMessi 2 жыл бұрын
I was looking for exactly this. Thanks Kyle.
@shreyanshmishra31
@shreyanshmishra31 2 жыл бұрын
This was really an amazing and insightful video Kyle. Thank you for your efforts. Can you please make a video on how to connect front-end (using React) with back-end (using Express.js and mongoose). Would really appreciate it.
@alexbalak7558
@alexbalak7558 2 жыл бұрын
My head just exploded with so much knowledge ! Thanks for the tutorial 👍 Will watch it bunch of times to get all of it. How do you remember all of it ? (So much information)
@saadarman4718
@saadarman4718 10 ай бұрын
Great one. So much content in this half hour video.
@germanromanoa
@germanromanoa 2 жыл бұрын
Gracias!!!! Estaba luchando con errores, debido a que el curso que estaba siguiendo tenia versiones anteriores, Gracias nuevamente!
@johnt.5646
@johnt.5646 Жыл бұрын
Fantastic effort and work for this video!! Nice
@TegemeaLema
@TegemeaLema 2 жыл бұрын
Thank you man, cool enough to love Mongoose & MongoDB more..!
@manoj-k
@manoj-k 2 жыл бұрын
🔥🔥🔥 Nobody covered this topic which is very important. Thank you
@anuragkushwaaha2091
@anuragkushwaaha2091 11 ай бұрын
Just what I have been looking for !
@Raza007-ty3bd
@Raza007-ty3bd 4 ай бұрын
Small love from Pakistan hatsoff to you Sir!
@shinmini99
@shinmini99 Жыл бұрын
I've always appreciate you Kyle. you are really awesome;
@Abdallah_Ismail
@Abdallah_Ismail Жыл бұрын
OMG I love your channel man LOVE it
@gptwisdomtalks
@gptwisdomtalks 2 жыл бұрын
Your videos are amazing brother , Simplified they are!
@fazilabano1309
@fazilabano1309 10 ай бұрын
Brilliant🌟, you have cleared my concepts
@samarpansuvaris753
@samarpansuvaris753 Жыл бұрын
Thank you so much Kyle. You have explained very well & Thanks for cheat sheet too.
@karanjotsandhu237
@karanjotsandhu237 2 жыл бұрын
Thanks Kyle for saving my time...great stuff as always..can you please make a video on aggregation framework and how to use it in mongoose?
@NoomMunsri
@NoomMunsri 11 ай бұрын
Your speech is rapid for a non-native English speaker, but the information provided is highly valuable.
@VIJAYKUMAR-ff1wo
@VIJAYKUMAR-ff1wo 11 ай бұрын
loved it, advanced topics have been covered with ease❤❤❤
@chrisranni4339
@chrisranni4339 2 жыл бұрын
Your content is the best on the web.
@aritradas8606
@aritradas8606 4 ай бұрын
next level stuff! this guy is something!
@canaldoues
@canaldoues 2 жыл бұрын
Always impressive! Many thanks, Kyle!
@liampugh4705
@liampugh4705 2 жыл бұрын
Awesome timing bringing this out
@rishabsharma5307
@rishabsharma5307 2 жыл бұрын
Great video 🔥🔥 thank you so much!
@AnirudhNayak-r2z
@AnirudhNayak-r2z Жыл бұрын
You earned our respect bruh, thank you for this amazing content
@ericktorres9853
@ericktorres9853 6 ай бұрын
Very informative video. The one thing I am stuck on is getting the .populate() method to work on an array of object ids.
@theophilus494
@theophilus494 2 жыл бұрын
Meeeeeen i learnt a lot and in the space of 33 minutes... wao thanks and God bless you
@blendercgiart
@blendercgiart 10 ай бұрын
Great and direct to the point video...Keep it up
@Max-tq1ig
@Max-tq1ig 2 жыл бұрын
So straightforward, even at the end XD Thank you very much!
@sinc1802
@sinc1802 2 жыл бұрын
What the.. this tutorial showed up exactly after I struggled with mongoose last night. Perfect timing 🤣
@augusto256
@augusto256 Жыл бұрын
Man, you're a hero
@Sober_Travel
@Sober_Travel Жыл бұрын
Wow, So cool. Can save so much time. Also cheat sheet. THanks! keep it up
@daveperry7179
@daveperry7179 2 жыл бұрын
Thanks Kyle, fantastic as always
@razaceme31
@razaceme31 Жыл бұрын
That helped me alot in starting a new project in mongoDB.
@ouihui
@ouihui 2 жыл бұрын
I wish you were my professor in college 😩 better late than never. Thanks for this tutorial! Super helpful!
@piyushaggarwal5207
@piyushaggarwal5207 11 ай бұрын
Awesome level of knowledge sharing. You can see the experience dripping. I would have also liked if you had given a little difference about MongoDB and Mongoose and why use mongoose.
@geek_24
@geek_24 10 ай бұрын
MongoDB is the NoSQL database system, while Mongoose is an ODM library specifically designed for use with MongoDB and Node.js. Mongoose adds a layer of abstraction, simplifying interactions with MongoDB by providing schema enforcement, middleware support, and additional features.
@poppin_party
@poppin_party 2 жыл бұрын
this vid saved me a lot of time getting into mongoose, tks!!
@MiSt3300
@MiSt3300 2 жыл бұрын
Just what I've been waiting for!
MongoDB Crash Course
29:59
Web Dev Simplified
Рет қаралды 688 М.
Node.js Doesn’t Suck Anymore
16:59
Web Dev Simplified
Рет қаралды 110 М.
Amazing Parenting Hacks! 👶✨ #ParentingTips #LifeHacks
00:18
Snack Chat
Рет қаралды 22 МЛН
The day of the sea 😂 #shorts by Leisi Crazy
00:22
Leisi Crazy
Рет қаралды 1,4 МЛН
отомстил?
00:56
История одного вокалиста
Рет қаралды 7 МЛН
MongoDB Schema Design Best Practices
50:39
Joe Karlsson
Рет қаралды 171 М.
Redis Crash Course
27:31
Web Dev Simplified
Рет қаралды 627 М.
Learn Express JS In 35 Minutes
36:03
Web Dev Simplified
Рет қаралды 814 М.
MongoDB Internal Architecture
43:25
Hussein Nasser
Рет қаралды 87 М.
How To Manage User Roles In Node.js
22:45
Web Dev Simplified
Рет қаралды 309 М.
Learn MongoDB in 1 Hour 🍃
1:00:00
Bro Code
Рет қаралды 1 МЛН
Express Crash Course
1:46:11
Traversy Media
Рет қаралды 89 М.
Learn Prisma In 60 Minutes
59:25
Web Dev Simplified
Рет қаралды 410 М.