What a frustrating yet awesome journey! It's already 2023 and still relevant. After 1 week of following the tutorial I was able to learn Mongo DB, the concept of Servers, MVC's, and Mongoose. I am now confident to take these new backend learnings into higher levels. Thank you so much, Net Ninja!
@howTo_79 Жыл бұрын
probably the best tuitorial on YT it is just missing the REST API part
@johnconnor97874 жыл бұрын
The best MVC explanation ever. You come to this concept so gradually, that in the end every piece of a puzzle clicks in the head and the whole picture appears so logical. Thank you, Shaun
@shansiddiqui47413 жыл бұрын
Are you the same John Connor from the Terminator ? The one who will lead the resistance and save us from extinction ?
@DavidEzequielPerez Жыл бұрын
absolutely agree, thank you for this explanation!
@mrsevensin438Ай бұрын
Just for the people who need it. If you move somewhere else during development and connect to new network, your IP will change. With this setup, your cluster remembers only the one you created it with, so you need to add the current one for the app to work. Otherwise, your app wont start with this message "clean exit - waiting for changes before restart" and this ERROR "MongooseServerSelectionError". And for you Ninja, I did not believe that you can make tutorials with such a grace. You are greaat teacher to listen to, explaining concepts in exact depth the newbie needs. Thank you very much, my favourite channel so far. Hello from Odin Project student as well :).
@bryanbandela3 жыл бұрын
This video is definitely the climax of this playlist. No one has ever explained MVC like you have done it here, it was masterfully put together like a magician or should I say like a Ninja. I wish you had more courses on Udemy to show you more supports. May God bless you for what you do for the community.
@jordanski54214 жыл бұрын
This is the first time I'm actively following a design pattern in one of my own projects and the examples you give here are exactly what I needed to fully understand the concept of not just MVC but design patterns in general. Thank you for that.
@HumbleShoeLace2 жыл бұрын
This has been a very awesome series !! went from zero to creating an entire application within just a few video !!
@kerendn3 жыл бұрын
Fantastic explanation. I love how you start with simple/straightforward/messy and then you move on to elegant/organized/modular.
@saida5844 жыл бұрын
The Best in Best to understand the concept of MVC in 22 Mins. Lots of LOVE Master ♡
@dimitmoto17163 жыл бұрын
Best explanations on those topics, I've found in youtube! Thank you!
@TheSlyDragon934 жыл бұрын
Had this issue with the last lesson 6:12 with the create method quite happy I managed to engineer it to work myself with no guidance yay me. Made me realise the importance of the order code must be laid out
@devrano484 жыл бұрын
It took 1 week to finish, i studied every second of this series. Feel like i learned node finally.
@raz02294 жыл бұрын
Same here, although I was familiar with Node before but those Udemy courses were only self-promotions and you actually had to purchase the full course even though the concepts weren't clear. I really appreciate and thank _The Net Ninja_ for such high-quality videos right here on YT.
@devrano484 жыл бұрын
Keep working guys now i'm about to create twitter clone :) Especially REST api is so important.
@ayoubnachat59203 жыл бұрын
Hhhh i finish it in one night (•_•)
@ihsannuruliman36563 жыл бұрын
finish it in 2 days but I feel like in the end only remember 30% so perhaps I need a little bit refresher so I'll watch once again from the very beginning :D
@devrano483 жыл бұрын
@@ihsannuruliman3656 take note to the google document.
@ahmedezealdean61898 ай бұрын
great course man, it amazing that a content with this quality is in youtube for free, keep going.
@russelldriver63944 жыл бұрын
Would you think about doing a personal bio video. How you got into code, why you started a KZbin channel, is this your sole job etc. I think your audience might appreciate that! I know I would!
@NetNinja4 жыл бұрын
One day - I don't have a decent setup for camera / studio yet. But in the future when I upgrade my studio I'll make these kinds of videos.
@theengagedcoach4404 жыл бұрын
@@NetNinja Eagerly wating for it bro
@indianappguy4 жыл бұрын
@@NetNinja at least give us an option to connect on different social media channel
@mythicalwraith70264 жыл бұрын
@@NetNinja even if you talk to a white screen I'll be fine with watching the video 😄
@rpanda_old4 жыл бұрын
@@NetNinja hey can you please create a discord server where everyone can discuss any problems we face during learning the various web technologies. This will help you too to better interact with us.
@saranavinash92617 ай бұрын
The thing I have been searching for to organize my code in a profesional manner and I finally found it, thank you
@diegoavendanohernandez99088 ай бұрын
My new favorite web development teacher
@nyashachiroro25313 жыл бұрын
Thank you. Honestly these guys work so hard for us. It must be really fulfilling to know you are making such an impact in people's lives
@samratmukherjee71313 жыл бұрын
I've seen many hands on tutorials regarding various topics. But your channel just hits different. Amazing work. Thanks bro
@SteeleMan2234 жыл бұрын
This course has been absolutely phenomenal! I had to learn node for a work project and I feel very comfortable in my shoes now!
@kabelomoola18463 жыл бұрын
The best NodeJs MVC explanation ever!!! Thank you very much.
@swankitydankity2973 жыл бұрын
I can't begin to tell you how useful this video was for me! Thank you very much for this tutorial :)
@gennerawsama59553 жыл бұрын
now thats what i love , seeing him debug his code is what we need and im glad he shows that , damn i learned so much a big thanks
@saidalizade12914 жыл бұрын
This channel deserves more subs
@kalltreaionc Жыл бұрын
Amazing Job sir - clear and concise course. Thank you for all the hard work put into this course ; appreciate you.
@NetNinja Жыл бұрын
No probs! :) thanks for watching
@21legaci233 жыл бұрын
the best tutorials I never regret watching, all your tutorials are always on point, short yet well explained, and well understandable to me, and, thank you
@kimokimo-se3ur3 жыл бұрын
@The Net Ninja Shaun did you know that you and your content made me a MERN Stack dev , thank you from all my heart
@okikiolaosunronbi87662 жыл бұрын
Thank you for creating this course, really gave me the knowledge I needed to start learning backend programming. Cant wait to really get into it
@NetNinja2 жыл бұрын
Glad it was helpful! :)
@AhmedLebda-gm9qo8 ай бұрын
Before watching this video i spend like half an hour trying to figure out why the create route doesn't work and he just looks at the code and figure it instantly with one look wow Great video as always
@ariolverab3 жыл бұрын
Marvelous tutorial with 11 videos, how you explained it´s so easy to understand. Without The Net Ninja & Traversy Media i´ll be just freaking lost.
@muslim101f3 жыл бұрын
19:19 LOL That was a great tutorial with an awesome tutor. Really thank you! :)
@spamdam15883 жыл бұрын
Oh my goodness, thank you so much! You just helped me solve a problem I've stuck on for an embarrassing amount of time. I was also missing that one extra period on my routes file reference because my app file is inside of a folder, and I was getting "Module not found." I hadn't been able to find run into the exact same problem until now. The smallest things are the most frustrating. Everything is running golden now :)
@PabloArceo-synclab3 жыл бұрын
Finished this, absolutely amazing explanation. Got your novice to ninja and D3.js courses on udemy. I was a bit slow on those, but after this I just subscribed to your ninja pro plan and I got really pumped up. You are an excellent and passionate teacher I might add. Thans man!
@mythicalwraith70264 жыл бұрын
Watched this whole series in a day! Your videos are great! 😄😄
@AdventEchoo4 жыл бұрын
Enjoying this tut...learned a lot, after coming from your modern js tut this makes life easy :)
@yogiunit20217 ай бұрын
Everything comes down neat in the end, nicely explained, thank you
@NetNinja7 ай бұрын
Thanks :) hope it was helpful!
@kunlohith3 жыл бұрын
MVC: Making Views Correctly. Like Wow, this is a miracle how you incredible you explain Mvc and told what we do. Just WOW! Mr. Ninja, I think you are a real black belt ninja. I, as a kid, love it and is inspired to do more. I even liked this video. And plz reply. Thanks.
@ghadasuqr3434 жыл бұрын
How can you make things so easy, it's amazing
@jasper50162 жыл бұрын
Even UDEMY premium courses dont provide these kind of details. Thanks Shaun.
@joypro527811 ай бұрын
Best tutor you could ever get to know
@SiriusFuenmayor3 жыл бұрын
Another excellent tutorial from the Net Ninja
@daiyan56882 жыл бұрын
Best video I have watched regarding those Topics. You helped me so much Sir!
@NetNinja2 жыл бұрын
Great to hear that. Thanks for watching Daiyan!
@solomonimhomoh10563 жыл бұрын
The best explanation ever. You're a life saver. Thanks
@omerakcan28392 жыл бұрын
Best tutor best mvc explanation! thank you for sharing it.
@NetNinja2 жыл бұрын
You're very welcome! Thanks Omer :)
@Shakeel7144 жыл бұрын
Awesome tutorial series on NodeJS!! Thanks Shaun
@infinitecodelk35634 жыл бұрын
I m from sri lanka You are genius. Thank for free tutorials. You channel is very help full. I told my friends about net nija👋
@andbandu4 жыл бұрын
now I am here brother. nice to see you in this dojo as our nation guy
@infinitecodelk35634 жыл бұрын
@@andbandu wow.nice brother.this channel is awsome
@dominicdeheuer9373 жыл бұрын
This EXPRESS tutorial is AWESOME!👍👍👍👍👍❤️❤️❤️❤️❤️❤️
@shadow_was_here3 жыл бұрын
Great series of video tutorials. Everything was explained precisely.
@ujwal54592 жыл бұрын
best tutorial on mvc architecture
@technoinfoworldwide23294 жыл бұрын
Node js by covering all the topic..amazing...
@a1225johnny3 жыл бұрын
Very clear and full of explanation! Thanks a lot!
@mariarazo69772 жыл бұрын
Such a clear and concise tutorial series. Thank you!
@ArtOfFun4 жыл бұрын
Its a very useful video. Excellent explanation MVC. Thank you!
@Deeloveya2 жыл бұрын
Thank you from Paris - France. Merci !
@whoIsV Жыл бұрын
I love your way of teaching. Would you please make a Crash course on Redux Toolkit please?
@rushtothemax764 жыл бұрын
This man is better at teaching me 2 code than my own teacher🔥
@ripinsurreality59784 жыл бұрын
Awesome tutorial! Unfortunately, it sometimes happens to me that I make a tiny mistake and then spend hours trying to fix it, finding that the cause of this was my inattentiveness. So, if anyone's having a problem of the styles not loading on all the pages, that start with /blog/, you probably forgot to put / before styles.css in your head.ejs, which should be href="/styles.css" instead of href="style.css"
@cheesecurls73 жыл бұрын
Literally had the same problem and it was so frustrating! Definitely will remember to put the leading / in there now though lol
@jondenjack2 жыл бұрын
Likewise!!
@myapptheme4 жыл бұрын
Excellent tutorial as usual. Awesome..... Thank you! "The Net Ninja".
@delidag Жыл бұрын
Thanks for useful tutorial. This is the best MVC tutorial
@NetNinja Жыл бұрын
Awesome :) Glad it was helpful!
@yinonb1724 жыл бұрын
best node.js tutorial ever
@amrmoneer58814 жыл бұрын
Wow so beautifully and simply explained thanks mate
@amymarais49093 жыл бұрын
One of the best teachers 😭
@erfanahmed_official2 жыл бұрын
at 7:04 why it goes to `/blog/:id` instead of `/blog/create`? these are completely two separate and different routes! why should it maintain an order? If this is how it works then moving the /create to the top won't cause same issue when one hits /:id url ?
@fredpourlesintimes3 жыл бұрын
Really cool chapter. Finally, we have a clear/comprehensible explanation of MVC. I'm just wondering why we didn't keep a default "index" page, separeted of the blog's one.
@AD-lr6pc3 жыл бұрын
wow this guy explains every thing very well
@deepanshmakkar51184 жыл бұрын
Freakiin Awesome Project Management!!
@kopilkaiser89918 ай бұрын
Best video to learn MVC with node.js
@NetNinja8 ай бұрын
Thanks for watching!
@yumyum71962 жыл бұрын
This is my first time learning node, back end and MVC. First off, superb course in so many ways (content, to the point, duration, example etc.). I do have one question, I am intrigued how the models are derived from the database schemas. Coming into this, I had this idea in my head that you defined your JavaScript classes somewhere in your models directory and then somehow exported this to the database. There's a project I've been building in my head as I've been watching this course and that is how I thought one would normally go about it, but it seems it is the other way around (define Schemas in DB first, then from there define your objects/classes for your logic). I don't know if anybody could provide some thoughts about this. Again, superb course, thank you so much for everything :D
@Pareshbpatel3 жыл бұрын
An excellent demonstration of how to use the MVC pattern. Thanks, Shaun {2021-09-13}, {2022-07-14}, {2022-11-01}, {2023-02-17}
@eff_gee3212 жыл бұрын
i have a question: what does this middleware do: app.use((req, res, next) => { res.locals.path = req.path; next(); });
@technologyexplained Жыл бұрын
Thank you. What an amazing course. I had lost the confidence in programming in general, but this course really helped me understand the backend concepts and get better. I do have one question though: The MVC stuff which was taught here, when I do personal projects, should I implement this while setting up the files, when I feel the project is getting clunky, or when the project is finished? What is the best time?
@supun_sandaruwan3 жыл бұрын
Great tutorial sir 🧡🧡🧡
@robertp35964 жыл бұрын
Personally I prefer to import my route in my use. Example: app.use("/blog", require("./routes/blog")); and it does a direct import without needing another variable.
@shadmanmartinpiyal40574 жыл бұрын
yeah me too.... i think it is cleaner,
@JoeMcBroom4 жыл бұрын
I like that - though it won't work quite like that if using Modules and Import statements
@EnesKab3 жыл бұрын
I am learning even from your random mistakes. Amazing.
@mossasameer33384 жыл бұрын
thank you so much, next.js is wating for you to cover him :)
@nicholassattaur99644 жыл бұрын
Very great and informative tutorial!
@codingstuff83054 жыл бұрын
Hi, very good explanations. Just for information, in an API way the standards name for your methods that you have created are "index, create, store, show, edit, update and delete" instead of blog_index, blog_create_post, etc...
@muhammadahadaminul95292 жыл бұрын
Awesome tutorial.
@andromilk263410 ай бұрын
There was something about controllers which I was wondering : you say they act as a middleman between the model and the view, but is it necessarily the case that every handler function is acting this way and always touching the two? For example, the delete controller function is neither touching the model (unless you consider the database part of the model as well?) neither sending data to the view for a render, it is instead interacting with the database. Is my interpretation correct on this matter or did I not follow correctly? Thanks
@LumbreraEnMiCamino4 жыл бұрын
Thanks a lot my friend, I wonder if you can teach us now how to apply the MVVM ?
@jwadjavapro682 жыл бұрын
Awesome tutorial
@flavioneto10814 жыл бұрын
You can also do exports.functionName = to export it directly. Nice tuts btw good rhythm
@jertfelt2 жыл бұрын
I'm having problems with ../models/blogs - it still says module not found when I edit it in memberRoutes.js
@melkerlarsson42194 жыл бұрын
Great tutorial:)
@FWCODING Жыл бұрын
all right mr, im done this course
@ZsoltGaramszegi3 жыл бұрын
All in one! Thanks!
@mastrobottega_enf2 жыл бұрын
how can you integrate this in a react project? not sure what to do with the render method
@eliltawondimu25652 жыл бұрын
hi, i am getting hard time on controller due to this error " TypeError: Cannot read properties of undefined (reading 'status')" can you help?
@pablofonseca88674 жыл бұрын
I was thinking about, what if I'm building a big website, how can I do to know if all my routes are working when I make changes to them? Is it possible to make a TDD or something?
@jimhalpert98033 жыл бұрын
Extremely helpful video. Thanks!
@NetNinja3 жыл бұрын
Thanks Jim 😀
@ambientsoda1063 жыл бұрын
But what if you want each blog to link to a page uses comment on? How you you dynamically create the page, with creating a threads folders full of predefined pages with partials on them?
@zhangandy11744 жыл бұрын
very informative, thank you for the sharing!
@adventurer23953 жыл бұрын
Interesting, I like how you made the controller agnostic/loosely coupled from express. However, it's still tightly coupled to the model and mongo, as model implementation details are happening inside . There could be additional layer of abstraction in the controller to be model/db agnostic.
@bryanDaMazo162 жыл бұрын
I noticed the same thing. I think it is not MVC yet since it is violating that principle. For example, migrating to a different database will imply refactoring the controller module. (Violating the MVC pattern). Also, testing will lead to writing exhaustive integration tests (due to IO). This video is a good reference for why it is important to separate the different layers to test efficiently and effectively; significantly reducing integration testing. kzbin.info/www/bejne/nJmpkmeqoKuIfNk
@josebordon78703 жыл бұрын
Amazing content. Thank you so much
@blatopebas10 күн бұрын
Sincerely thank you very much
@philcurran8306 Жыл бұрын
What would a PUT request look like? I've been able to create a route for /blogs/edit/:id and populate the form with the existing blog entry, and change the form method to PUT, but I'm not sure where to go from there and I can't let it go. 😂
@hackerpro67423 жыл бұрын
Thankyou buddy helped me alot
@s_rox50423 жыл бұрын
Thanks net ninja for tuts
@farouksallam17794 жыл бұрын
Thank you so much 💞
@yassineechchetouky97704 жыл бұрын
thank you so much, this video was very helpful
@hitanshugoyal43663 жыл бұрын
where can I get the code which sir wrote in the tutorial?
@giuliomariomartena63083 жыл бұрын
Hi! How would a React (or other front-end library) fit into the views? I mean wouldn't that be a separate app, with respect to an Express one?