Mongoose Crash Course - Beginner Through Advanced

  Рет қаралды 491,000

Web Dev Simplified

Web Dev Simplified

Күн бұрын

Пікірлер: 457
@centrumsaiyan7623
@centrumsaiyan7623 2 жыл бұрын
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 11 ай бұрын
He is the only guy that makes our KZbin screentime actually usefull, so it doesn't count as gen z screen time
@thiagovilla970
@thiagovilla970 4 ай бұрын
@@immiketyson haha good one!!
@Berkeli
@Berkeli 3 жыл бұрын
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
@CodeWithSahand
@CodeWithSahand 3 жыл бұрын
This is an excellent video. Just enough information to get you started. 👌
@Someone-ct2ck
@Someone-ct2ck 3 жыл бұрын
roasting or praising.
@spreadItWide
@spreadItWide 3 жыл бұрын
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 3 жыл бұрын
its ok, i still cant write a for loop from memory.
@spreadItWide
@spreadItWide 3 жыл бұрын
@@mrdoner3451 lol as long as we can get to stackoverflow!
@zakariaabdi6197
@zakariaabdi6197 3 жыл бұрын
@@mrdoner3451 me same
@N451M4K
@N451M4K 3 жыл бұрын
its google reading your brain
@lie456890
@lie456890 2 жыл бұрын
@@mrdoner3451 😀
@mdirshath4174
@mdirshath4174 3 жыл бұрын
I love your crash course series, whenever I forget about anything I straight away check your videos to get started. Thank you so much.
@kllokoq
@kllokoq 3 жыл бұрын
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!
@dave6012
@dave6012 3 жыл бұрын
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 2 жыл бұрын
Saying "Thank you" is not enough for your effort. You are amazing mentor on youtube ever!!! God bless you, bro. Keep goin!!!
@thati64
@thati64 9 ай бұрын
Thanks!
@WebDevSimplified
@WebDevSimplified 8 ай бұрын
You're very welcome!
@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!
@alirida3428
@alirida3428 Жыл бұрын
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.
@akremevolution4459
@akremevolution4459 3 жыл бұрын
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 Жыл бұрын
Yeah my comment is the same
@tesla1772
@tesla1772 3 жыл бұрын
Momgoose schema also provides an timestamp option which when set to true creates createdAt and updatedAt property on its own
@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
@Sapphiamur
@Sapphiamur 2 жыл бұрын
Amazing explanations, thank you so much :)!!
@ofiradany4432
@ofiradany4432 6 ай бұрын
תודה!
@WebDevSimplified
@WebDevSimplified 6 ай бұрын
Thanks for the support!
@shash0_0
@shash0_0 10 ай бұрын
So much value packed in one video, it's unreal. Thank you for this.
@ShuAbLe
@ShuAbLe 2 жыл бұрын
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.
@themixmaster
@themixmaster 3 жыл бұрын
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!
@guillegt7983
@guillegt7983 3 жыл бұрын
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.
@Ninjaphil24
@Ninjaphil24 Жыл бұрын
Truly excellent work. I took your mongoDB course as well. You've been such a help generally!!
@bonnieowens9531
@bonnieowens9531 2 жыл бұрын
Every one of your videos that I watch help me break through my coding walls. Thanks for your content!
@jatinvashisht4293
@jatinvashisht4293 2 жыл бұрын
just completed the course: Hands down the best course I ever encountered on mongoose
@Selfive
@Selfive 2 жыл бұрын
Thanks
@WebDevSimplified
@WebDevSimplified 2 жыл бұрын
You're very welcome!
@gregudogu7079
@gregudogu7079 2 жыл бұрын
Thank you Kyle. I was working on a project and ran into some issues. Grateful I bumped into this video.
@anikstudy9507
@anikstudy9507 2 жыл бұрын
Loved the fact that the cheat sheet has both Dark and Light version. Thanks a lot!
@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 👍👍👍
@tech3425
@tech3425 2 жыл бұрын
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.
@karenavdalyan3647
@karenavdalyan3647 2 жыл бұрын
This is one of the best tutorials I have ever watched)) The speed of explanation is also fantastic
@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!
@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
@cold_
@cold_ Жыл бұрын
Nice video Kyle, your were really cooking with this video.
@aryankhullar7101
@aryankhullar7101 3 жыл бұрын
Needed this since a long time , many tutorials were a bit outdated. Thank you!
@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
@ゴール_D_マンサックス
@ゴール_D_マンサックス 2 жыл бұрын
Best mongoose course on KZbin!!!!
@sunilanthony17
@sunilanthony17 3 жыл бұрын
Your teaching skill is awesome. Love it, wish I was more involved on the front end and using NoSQL.
@alexanderst.7993
@alexanderst.7993 Жыл бұрын
god bless you man, seriously you are probably the reason i got into web dev to begin with!
@adiemar3974
@adiemar3974 3 жыл бұрын
again, what a very great lesson. everything you need to get started all packed in this simple short video.
@pretor89
@pretor89 3 жыл бұрын
Yes!! This is the video I’ve been looking for! Thank you
@paolodt7588
@paolodt7588 3 жыл бұрын
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 3 жыл бұрын
He can't make everybody fit in, you'll need to develop your english ear more
@Rel3D
@Rel3D 9 ай бұрын
Thank you so much for your work! Keep up the great effort we all really appreciate it!!!❤❤❤
@hadipawar2539
@hadipawar2539 3 жыл бұрын
really looking forward to a Sequelize crash course! once again . awesome job!
@sm1ley732
@sm1ley732 3 жыл бұрын
it doesn't matter if KZbin took down the dislike button, because I always give this dude a Like
@daydreamical
@daydreamical 2 жыл бұрын
Very straightforward and well-paced guide covering a lot of stuff with explained examples. Thanks a ton!
@p._7555
@p._7555 Жыл бұрын
So focus, right to the point, so didactic and with the perfect timing dude👏👏👏
@rajamuhammadasher
@rajamuhammadasher 3 жыл бұрын
Perfectly summarized. Good work Kyle
@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!
@mouradMsaken
@mouradMsaken 11 ай бұрын
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).
@saadarman4718
@saadarman4718 Жыл бұрын
Great one. So much content in this half hour video.
@shinmini99
@shinmini99 Жыл бұрын
I've always appreciate you Kyle. you are really awesome;
@adriankaiser4642
@adriankaiser4642 2 жыл бұрын
Excellent video! The content was delivered clearly and concisely! Thank you!
@chrisranni4339
@chrisranni4339 2 жыл бұрын
Your content is the best on the web.
@johnt.5646
@johnt.5646 2 жыл бұрын
Fantastic effort and work for this video!! Nice
@zodiepupper
@zodiepupper Жыл бұрын
Thank you so much for having these guides on youtube for free. I have been in hell for the past 3 days trying to figure out this garbage grandfathered in API at my company. I've been trying to figure out why this disgusting convoluted api at my company is seemingly generating calls to the database out of nowhere, and skipping to around 3:40, I finally got the one tip that made me realize that there must be a reference to the base schema somewhere in this project. I seriously hate how abstracted and convoluted all these modern solutions are, this is absolutely ridiculous. No wonder nobody understands how their APIs work these days. All the useful information gets buried under 14 files of Schema abstraction and inheritance. Why would a system ever be designed like this, I feel like the industry is purposefully inflating the amount of nonsense lines you have to write just to simply interface with the most basic features. I miss when you could just create a connection object and then send a sanitized query to the database and then get back the data you asked for without having to define the entire structure of the database in code with 100s of worthless lines of nonsense. Please, for the sake of future devs' sanity, please just use something sensible like Postgres. Postgresql scales better than Mongodb, supports much more straight forward querying, and has native support for storing documents in the database...
@mdmoazshamim4155
@mdmoazshamim4155 8 ай бұрын
Thanks Kyle for this wonderful Mongoose Crash Course ❣
@TegemeaLema
@TegemeaLema 2 жыл бұрын
Thank you man, cool enough to love Mongoose & MongoDB more..!
@liampugh4705
@liampugh4705 3 жыл бұрын
Awesome timing bringing this out
@MilanTiwariMessi
@MilanTiwariMessi 3 жыл бұрын
I was looking for exactly this. Thanks Kyle.
@zachfotis
@zachfotis 2 жыл бұрын
Thank you, Kyle. That was a really helpful and not a time-consuming tutorial.
@VIJAYKUMAR-ff1wo
@VIJAYKUMAR-ff1wo Жыл бұрын
loved it, advanced topics have been covered with ease❤❤❤
@anuragkushwaaha2091
@anuragkushwaaha2091 Жыл бұрын
Just what I have been looking for !
@gptwisdomtalks
@gptwisdomtalks 2 жыл бұрын
Your videos are amazing brother , Simplified they are!
@Abdallah_Ismail
@Abdallah_Ismail Жыл бұрын
OMG I love your channel man LOVE it
@rakshitkathawate8838
@rakshitkathawate8838 2 жыл бұрын
thanks, it was really good and quick overview before interview or even before starting out new project. Keep it up
@rishabsharma5307
@rishabsharma5307 3 жыл бұрын
Great video 🔥🔥 thank you so much!
@SudipBhattacharyya
@SudipBhattacharyya 22 күн бұрын
Mind blowing!!! Thanks a lot for this course.
@aritradas8606
@aritradas8606 8 ай бұрын
next level stuff! this guy is something!
@ali-celebi
@ali-celebi 2 жыл бұрын
Very good content covering all the fundamentals of Mongoose. Thanks a lot!
@Raza007-ty3bd
@Raza007-ty3bd 7 ай бұрын
Small love from Pakistan hatsoff to you Sir!
@germanromanoa
@germanromanoa 3 жыл бұрын
Gracias!!!! Estaba luchando con errores, debido a que el curso que estaba siguiendo tenia versiones anteriores, Gracias nuevamente!
@aram5642
@aram5642 3 жыл бұрын
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.
@Egyptianlayman-kp6ki
@Egyptianlayman-kp6ki 2 ай бұрын
Perfectly to the point, thanks.
@daveperry7179
@daveperry7179 3 жыл бұрын
Thanks Kyle, fantastic as always
@manoj-k
@manoj-k 3 жыл бұрын
🔥🔥🔥 Nobody covered this topic which is very important. Thank you
@nisargjoshi8236
@nisargjoshi8236 Жыл бұрын
Damnn! That was a lot of good info just 30 mins! Thanks a ton!
@AnirudhNayak-r2z
@AnirudhNayak-r2z Жыл бұрын
You earned our respect bruh, thank you for this amazing content
@canaldoues
@canaldoues 3 жыл бұрын
Always impressive! Many thanks, Kyle!
@MiSt3300
@MiSt3300 3 жыл бұрын
Just what I've been waiting for!
@krishnasudan3410
@krishnasudan3410 3 жыл бұрын
Literally I was just going to learn mongoose. 💓💕Thanks
@Max-tq1ig
@Max-tq1ig 2 жыл бұрын
So straightforward, even at the end XD Thank you very much!
@fazilabano1309
@fazilabano1309 Жыл бұрын
Brilliant🌟, you have cleared my concepts
@李俊奇-d3o
@李俊奇-d3o 7 ай бұрын
小伙长的真帅,感谢您的分享,让我快速的了解了mongoose.
@Sumaila2000
@Sumaila2000 Жыл бұрын
Hello bro, thank you for this. You deserve everything you wish for 👍
@sisyphusnot01
@sisyphusnot01 11 ай бұрын
heyo is this tutorial working for you because what i have seen is that the callbacks are deprecated in mongoose now.
@Sumaila2000
@Sumaila2000 11 ай бұрын
Yeah, it worked for me. Some things have changed but I was able to rectify it from the docs.
@poppin_party
@poppin_party 2 жыл бұрын
this vid saved me a lot of time getting into mongoose, tks!!
@2029leandro
@2029leandro Жыл бұрын
So well explained! Thank you for this, I can now start using mongoose in my projects!
@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.
@inspiredomkar1239
@inspiredomkar1239 5 ай бұрын
Great video. Much appreciated.
@samarpansuvaris753
@samarpansuvaris753 Жыл бұрын
Thank you so much Kyle. You have explained very well & Thanks for cheat sheet too.
@jocelyn-n-tech
@jocelyn-n-tech 2 жыл бұрын
Dang this was a really good tutorial!!!! Well done sir.
@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.
@umairqamar2672
@umairqamar2672 2 жыл бұрын
You're super duper amazing, Kyle
@Arabian_Abomination
@Arabian_Abomination 3 жыл бұрын
Thanks! The mongoose docs are one of the worst I’ve ever seen 😣 Really thankful for this tutorial!
@emperoralthaf6264
@emperoralthaf6264 3 жыл бұрын
Hi Kyle that's awesome!. Can you make one video on advanced mongodb modelling, aggregation, and advanced topics like realm, datalake.. ? Thank you!
@vikram87in
@vikram87in 2 жыл бұрын
excellent video. Thanks Kyle 😍😍
@Jishnuk011235
@Jishnuk011235 Ай бұрын
This helps me a lot... thanks buddy
@augusto256
@augusto256 2 жыл бұрын
Man, you're a hero
@djchepkuta
@djchepkuta 2 жыл бұрын
Kyle is an alien😀😀😀😀. He knows everything in coding coz i follow this channel
@nguyentoanhnt
@nguyentoanhnt 2 жыл бұрын
Great course. Thank you so much!
@razaceme31
@razaceme31 2 жыл бұрын
That helped me alot in starting a new project in mongoDB.
MongoDB Crash Course
29:59
Web Dev Simplified
Рет қаралды 733 М.
Learn Express JS In 35 Minutes
36:03
Web Dev Simplified
Рет қаралды 879 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Inside Ruby 3.4
52:02
Jason Charnes
Рет қаралды 2
How To Manage User Roles In Node.js
22:45
Web Dev Simplified
Рет қаралды 314 М.
5 Signs of an Inexperienced Self-Taught Developer (and how to fix)
8:40
Redis Crash Course
27:31
Web Dev Simplified
Рет қаралды 660 М.
Data modelling for backend with mongoose
56:11
Chai aur Code
Рет қаралды 191 М.
Learn TypeScript Generics In 13 Minutes
12:52
Web Dev Simplified
Рет қаралды 298 М.
MongoDB Crash Course 2022
27:22
Traversy Media
Рет қаралды 206 М.
Learn Prisma In 60 Minutes
59:25
Web Dev Simplified
Рет қаралды 440 М.
Build A REST API With Node.js, Express, & MongoDB - Quick
28:56
Web Dev Simplified
Рет қаралды 852 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН