Learn Express Middleware In 14 Minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 พ.ย. 2024

ความคิดเห็น • 457

  • @daemyno
    @daemyno 4 ปีที่แล้ว +783

    Node.Js Senior developer here,
    And I'm a subscribed in you channel for two main reasons
    1 - Your way to simplify things, even though I know most of them all, I still enjoy watching you explaining them.
    2 - No matter how experienced you are, you still can learn some useful tricks from others even for basics.
    Keep it up man :)

    • @curiosdevcookie
      @curiosdevcookie 4 ปีที่แล้ว +25

      You, too. That’s a healthy attitude 🌸

    • @izaakchater9165
      @izaakchater9165 4 ปีที่แล้ว +8

      I get the vibe that you would be great to work under for anyone whose genuinely into the craft.

    • @yasasvyguntur4109
      @yasasvyguntur4109 4 ปีที่แล้ว +1

      Hey I need some assistance in node js development. Since you are a senior developer would you help me out please?

    • @anjobihis2052
      @anjobihis2052 3 ปีที่แล้ว

      Wow, great mindset actually. Nice

    • @itproguide
      @itproguide 3 ปีที่แล้ว

      Exactly what I need...thanks bro

  • @jimmymac601
    @jimmymac601 4 ปีที่แล้ว +302

    It is ridiculous how good an instructor you are.

    • @WebDevSimplified
      @WebDevSimplified  4 ปีที่แล้ว +32

      Thank you!

    • @bobweee888
      @bobweee888 3 ปีที่แล้ว +10

      yeah he doesnt just try sound intelligent. I feel like a lot of people want to be perceived as genius so when they apply for work or get invited to convetion talks or some crap. this guy is a beast.

    • @shrutparikh4167
      @shrutparikh4167 3 ปีที่แล้ว +1

      Very true

    • @tremolony4924
      @tremolony4924 2 ปีที่แล้ว +9

      Meanwhile, my teacher taking 3 hours to explain what I just learnt in 15minutes

    • @douglee650
      @douglee650 2 ปีที่แล้ว

      Kyle for prez!

  • @Syed-wj4pj
    @Syed-wj4pj 4 ปีที่แล้ว +172

    Dude! every single time, after searching for hours, I end up finding your video and understand a concept.
    Never stop
    You are a great teacher

    • @lordrampenthump422
      @lordrampenthump422 3 ปีที่แล้ว +2

      every single time? So not a fast learner then ;-p

  • @nsharma4981
    @nsharma4981 4 ปีที่แล้ว +35

    Every beginner to backend MUST watch this video. Learning node, express, mongoose, etc all at once, I didn't know where one ended and the other began. This vid and the blog cleared up all the confusion, and your explanation of next() was better than the official documentation. Thanks a lot Kyle, for explaining what middleware really is so well! 😊

  • @ayushiagarwal7548
    @ayushiagarwal7548 3 ปีที่แล้ว +4

    I have been trying to understand what middleware is for the last two weeks. Went through a ridiculous amount of documentation with no clarification. And then this randomly pops up in my recommendations and everything is suddenly so clear. Thank you so much, Kyle!

  • @VladdyHell
    @VladdyHell 3 ปีที่แล้ว +1

    This guy is just an absolute beast. Can't believe I bought a course and didn't understand a thing about express, all I did was to copy til' I watched this video.

  • @mohdhussain5918
    @mohdhussain5918 2 ปีที่แล้ว +1

    In this 14 min videos you have cleared the major concept which link to the error handling, route handling and many more

  • @arturobracero3450
    @arturobracero3450 3 ปีที่แล้ว +1

    I am working on a project using Express and had several questions about middleware. You literally explained all of them one after the other. Amazing work.

  • @taofeeqomotolani2311
    @taofeeqomotolani2311 ปีที่แล้ว

    The distinction between next() function call and return was the vital information and I am glad you addressed it

  • @muhammadmoiz2560
    @muhammadmoiz2560 2 ปีที่แล้ว +1

    Luv you man
    I spended more than 2 hours in an error in my website but couldn't found so i left it after 2 hours i saw your video and figured out my error luv you so much😄❤❤❤

  • @ינוןאלבז-כ1ז
    @ינוןאלבז-כ1ז 3 ปีที่แล้ว +1

    This is a topic that has always been dull to me even though I use it quite a bit, and it always feels uncomfortable to use something you do not fully understand
    You have clarified the issue completely !!!

  • @user23724
    @user23724 2 ปีที่แล้ว +2

    You have a very clear straight to the point way of explaining things, your tutorials are super time efficient to watch, as everything you talk about is relevant to what you're trying to explain.

  • @BigSmoke-r9w
    @BigSmoke-r9w 5 หลายเดือนก่อน +1

    The only thing I hate about this video is it ended! This is gold content right here! ❤

  • @aryanmehta7375
    @aryanmehta7375 6 หลายเดือนก่อน

    Man this was by far the best explanation of middlewares ,,, nothing fancy or complex, just to the point explanation of what needs to be known if you actually want to learn the concept and not some block of code... the explanation after 11:00 is missed by all other videos I have watched on this topic and which is so essential in actual application of middlewares,,,
    for my case I was looking for some kind of explanation of how does logger functions log response times if they are initialized as first middleware as in it should have passed to next middleware before sending response,,, But all is now clear and I am able to digest the functioning of it...

  • @ryaaan0751
    @ryaaan0751 11 หลายเดือนก่อน

    I just started learning NodeJS and Express and this video really helps me to further my understanding about Middlewares! Thanks so much for this!

  • @emanuelsiu1232
    @emanuelsiu1232 4 ปีที่แล้ว +4

    Everyone else I try to learn from zooms past topics like this and just expects you to get it. Thank you for your clarity and systematic representation of flow and function.

  • @ambarishdashora5440
    @ambarishdashora5440 4 ปีที่แล้ว +1

    Bro you are like a god of nodejs . I completely understood middle ware. Your video is awesome. Please keep making more such videos. You are a great teacher.

  • @kevinkiumbe5620
    @kevinkiumbe5620 11 หลายเดือนก่อน

    spent a week just getting the concept, cant believe how easy you make it !

  • @noidea176
    @noidea176 3 ปีที่แล้ว +5

    It is actually unreal how good you are at teaching, great job man.

  • @simy261
    @simy261 2 ปีที่แล้ว +3

    You are a phenomenal teacher, I can always rely on your tutorials if there's anything I don't understand about web dev, your videos are really empowering and super helpful!

  • @briandev8
    @briandev8 3 ปีที่แล้ว +8

    Hey Kyle, you probably won't see this, but for those who are in the comments, these videos he puts together are amazing. I am currently enrolled in a Software Engineering course, and when we get the new weekly material, the first thing I do is check to see if Kyle has a video on it. Most of the time he does. I have learned so much from you. One day I will land a great job thanks to your videos, and then I will be able to repay you somehow.

    • @kostasrp6634
      @kostasrp6634 ปีที่แล้ว +1

      Did you land a great job?

    • @briandev8
      @briandev8 ปีที่แล้ว

      @@kostasrp6634 I did. This April will be 2 years on the job and doing great so far!!!

  • @aditya__exe
    @aditya__exe ปีที่แล้ว

    I watched a tutorial where the person used this method for auth. At that time, I couldn't understand much but you made everything clear.

  • @veilchromech
    @veilchromech 9 หลายเดือนก่อน +1

    thanks the explanation easy to understand ofter ur beginner into this topic

  • @shikharchaudhary6984
    @shikharchaudhary6984 4 ปีที่แล้ว +1

    For me, Your article was better than Express documentation

  • @hirenaswar8104
    @hirenaswar8104 2 ปีที่แล้ว +1

    this is the best video on middleware on you tube great job mate👍

  • @felipemelendez5741
    @felipemelendez5741 2 ปีที่แล้ว

    If I ever need to know something and see that you have created content that explains it I watch it because I know it's going to be excellent. But this was the first time I read one of your posts... and now I'm an even bigger fan, thank you!

  • @prangshujg5920
    @prangshujg5920 4 ปีที่แล้ว

    Exactly I ran through the same, cannot use headers .... And here you are .... explaining things so easily, crisp and clear !! Thanks man 👍

  • @zhan2780
    @zhan2780 3 ปีที่แล้ว +4

    It's been a while since I enjoyed learning something. I literally laughed! You are definitely one of the best teachers out there!

  • @sadabsifar1155
    @sadabsifar1155 ปีที่แล้ว

    I am learning express and doing my first project that's almost done. The term middleware kinda freaks me out without any reasons lol. That's why I avoided using it in my project.
    But after this explanation, the concept is crystal clear! Thank man

  • @bruhmoment3731
    @bruhmoment3731 2 ปีที่แล้ว

    It's amazing how I can understand all of ur videos. You're an amazing teacher

  • @generallifing
    @generallifing 2 ปีที่แล้ว

    This video is still golden for every js developer who wants to dig deeper

  • @weaponizedlego2959
    @weaponizedlego2959 4 ปีที่แล้ว +4

    Thank you so much for including a blog post too. Love you explanations. But for a quick reference or a lookup on a specific part. The video format is rarely friendly. Love to read guides

  • @bipinmsit7380
    @bipinmsit7380 ปีที่แล้ว

    Finally I understood middleware correctly when you explained in last section before & after example. Great work man!

  • @luckyone525
    @luckyone525 ปีที่แล้ว

    Amazing simple explanation with examples, this is how documentation should be written, with emphasis on certain behaviours of something instead of dull wall of text from which you might or might not figure something out and, you go to youtube for human explanation, great work man!

  • @billnewsr.9314
    @billnewsr.9314 ปีที่แล้ว

    Nice job walking through a very simplified version.
    Like the way you showed by running examples with your explanations.

  • @balasahebsuryawanshi5509
    @balasahebsuryawanshi5509 3 ปีที่แล้ว

    you are really great man , even our institute faculty don't know how to teach ..our faculty make the things complicated but in reality the things are made more easy by you thanks ....a ... lot

  • @gauravpoudel7288
    @gauravpoudel7288 4 ปีที่แล้ว +15

    bro thanks again. U r just different from the rest of the tutors out here on youtube. Clear, concise and more importantly teaching best practices

  • @myyoutubechannel2858
    @myyoutubechannel2858 ปีที่แล้ว

    The stuff about `return` (12:02) was amazing.

  • @therimalaya
    @therimalaya 3 ปีที่แล้ว +1

    You are definitely a great teacher. After watching your videos, I always feel my one thumbs-up has been too small for your gratitude. Thank you for making these videos.

  • @danlevy9478
    @danlevy9478 3 ปีที่แล้ว

    Best explanation on TH-cam period.

  • @jamjam3448
    @jamjam3448 2 ปีที่แล้ว

    I like it when you say, "EVERYTHING!" I feel assured!

  • @aswathis2938
    @aswathis2938 4 ปีที่แล้ว

    Your explanation of middleware is just on point....the best video to understand middleware in just 15 mins which just covers everything 💗

  • @suomiseikkailut3932
    @suomiseikkailut3932 ปีที่แล้ว

    Just amazing tutorial. Thank you, I finally understand properly what the middleware is and how it works. Thank you!

  • @carlos66083
    @carlos66083 3 ปีที่แล้ว

    I was already aware of what middleware is but this explanation made it much clearer. Thanks!

  • @Enzo-sp3bf
    @Enzo-sp3bf 9 หลายเดือนก่อน

    I watched the blog article and want to say thank you that your article is so great

  • @delphineamaka9422
    @delphineamaka9422 ปีที่แล้ว

    I'm about to watch this video, and the comments gladden my heart...I can't wait to watch it

  • @wendelvanhespen8740
    @wendelvanhespen8740 4 หลายเดือนก่อน

    I see that many people are very positive about this video. I, for instance, find the title:everything you need to know about express middleware not very correct. Apparently, you need to install some server, but where? What kind of server? Where do you place the codefile? How does this middleware server throughputs the initial request to the listening webserver? Otherwise put, I understand about the next() function call, but I haven't learned anything about express middleware.

  • @tigana
    @tigana ปีที่แล้ว +5

    just started learning backend this month and this video helped a ton. Dec 13th 2022. commenting for future me

    • @earlymorningcodes6100
      @earlymorningcodes6100 ปีที่แล้ว

      did u land job? as it is August 2023

    • @tigana
      @tigana 10 หลายเดือนก่อน

      @@earlymorningcodes6100Yeah:)

    • @tigana
      @tigana 6 หลายเดือนก่อน

      @@earlymorningcodes6100Yeah:)

  • @ayikkathilkarthik4312
    @ayikkathilkarthik4312 3 ปีที่แล้ว

    Thank you soooo much.
    Every time i watch your video, my concept of the topic is cleared.

  • @EddyMunsta
    @EddyMunsta ปีที่แล้ว

    Nice video, studying this in a full stack camp and your video helped explain a nice overview of middleware.

  • @amazing-ek2uo
    @amazing-ek2uo 2 ปีที่แล้ว

    I just went through the blog article. It is amazing. Thank u dude..💖💖💖

  • @philofblood855
    @philofblood855 2 ปีที่แล้ว

    I think "Login middleware" should be "Logging middleware". Great Video!

  • @muhammadjunaid3167
    @muhammadjunaid3167 6 หลายเดือนก่อน

    Best Middleware tutorial.

  • @Steve-rx4sw
    @Steve-rx4sw 2 ปีที่แล้ว

    Sleek and good. I was actually following a diff tutorial but didn't understand the concept. Nice work my. man! Thanks

  • @contactdi8426
    @contactdi8426 3 ปีที่แล้ว

    Ohhh Man !!! I was so f**ing confused about this next () !!!! in middleware but you have made everything very clear. Thanks a lot :)

  • @jasonhuang4333
    @jasonhuang4333 3 ปีที่แล้ว

    I love this channel! I learned so much from React hooks to Node

  • @zoltancaputo9562
    @zoltancaputo9562 2 ปีที่แล้ว

    Awesome 👏 I have been studying it on some courses in Brazil and I didn’t have an such good explanation like this ! Now I fell secure to start my career 😂

  • @skullwise
    @skullwise 4 ปีที่แล้ว

    I appreciate that a lot of preparation has gone into making this video... Thanks, man.

  • @earlymorningcodes6100
    @earlymorningcodes6100 ปีที่แล้ว

    crystal clear explanation ❤ love from India

  • @firman175
    @firman175 3 ปีที่แล้ว +1

    You are simplify my learning, thanks Kyle

  • @harry-cee
    @harry-cee 4 ปีที่แล้ว +1

    Hey Kyle, I had been looking for detailed explanation of express middleware. Thank you for this video! You went above and beyond. Subscribed.

  • @CruciformCoding
    @CruciformCoding 3 ปีที่แล้ว +1

    Thanks for the great video. I wish more videos were like this. So many code-along tutorials leave newbies thinking they're learning better than they are. Great video.

  • @atanas-nikolov
    @atanas-nikolov ปีที่แล้ว

    I want to say that your free stuff is miles ahead of many people's paid stuff. I'm just finishing one of the most advertised udemy-like courses (it's on udemy too, I think) for fullstack and I've caught so many errors and unexplained details, that I often end up watching your stuff.
    For example, in this course nobody explained middleware adequately. Not even http action responses. In 14 minutes you've given me more information than the course did in 1 hour. And it's paid...

  • @gyappumusoka4016
    @gyappumusoka4016 2 ปีที่แล้ว

    Amazing explanation. I finally have a good grasp on middleware. Thank you!

  • @ethanwraith8970
    @ethanwraith8970 2 ปีที่แล้ว

    best explanation I've ever seen! You rock.

  • @kartikeyjangir6003
    @kartikeyjangir6003 3 ปีที่แล้ว

    Bro you really named your channel correctly.🔥🔥🔥🔥 ❤️❤️❤️❤️

  • @Modou_Gueye
    @Modou_Gueye 17 วันที่ผ่านมา +1

    Thank you for your efforts, it helped a lot.

  • @mattoattacko
    @mattoattacko 4 ปีที่แล้ว +14

    I absolutely love your content. Between Boot-camp, Treehouse, and you, I'm almost competent.

  • @georgros4199
    @georgros4199 2 ปีที่แล้ว

    Thanks for this lesson.
    Отдельное спасибо за русские субтитры.

  • @bushigi5913
    @bushigi5913 3 ปีที่แล้ว +1

    I'll definitely come back and watch this vid later again.

  • @garvsharma405
    @garvsharma405 3 ปีที่แล้ว

    Simply the best videos explaining concepts clearly & to the point.

  • @KhoaNguyen-mv2mu
    @KhoaNguyen-mv2mu 4 ปีที่แล้ว

    Thanks so much for your efforts. It not only clears my mind but also saves me a bunch of time.

  • @millikin2099
    @millikin2099 ปีที่แล้ว

    Great video Kyle. Your explanations are always so clear and easy to understand.

  • @jsonslim
    @jsonslim 3 ปีที่แล้ว

    Such a nice explanation, a little deeper to basics

  • @KevinJohnMulligan
    @KevinJohnMulligan 3 ปีที่แล้ว

    You are an incredibly talented teacher! 👌
    Thank for adding a ton of clarity to the Javascript community 🌎

    • @KevinJohnMulligan
      @KevinJohnMulligan 3 ปีที่แล้ว

      Please add `nodemon` to your blog post for completeness 👍
      The post currently says this:
      "As we make changes you will need to restart your server in the console to see the changes take effect."

    • @KevinJohnMulligan
      @KevinJohnMulligan 3 ปีที่แล้ว +1

      I enjoyed this article a lot, while reading it I noticed a typo/grammatical error.
      blog.webdevsimplified.com/2020-04/trade-money-for-time/
      Here is the corrected text:
      "If you need to deploy a simple web application *THEN Heroku will take care of all the complex tasks for you..."
      One might argue that WILL should be replaced by CAN in this sentence.

  • @JanithaR
    @JanithaR 3 ปีที่แล้ว

    found damn good explanation after searching for many hours. Thank you for video.

  • @SiriusFuenmayor
    @SiriusFuenmayor 3 ปีที่แล้ว

    Excellent, concise and complete explanation

  • @sahelee1
    @sahelee1 3 ปีที่แล้ว

    You rock!!! Girl developers, give a cheer to this post.

  • @arshathimran.r2692
    @arshathimran.r2692 4 ปีที่แล้ว

    Really Simplified !!! Middleware in a nutshell.

  • @IceBreakerGamer
    @IceBreakerGamer 4 ปีที่แล้ว

    You are the best teacher ever! You saved me time and complexity

  • @jeevankurian9148
    @jeevankurian9148 ปีที่แล้ว

    Beautifully explained... Thank You😍

  • @alwynjohn597
    @alwynjohn597 4 ปีที่แล้ว

    Being a beginner I find really fast. But I am sure after getting my hand dirty on this I will be able to pickup at his speed. Thanks a lot kyle

  • @n3uron_bloom938
    @n3uron_bloom938 ปีที่แล้ว

    This is such a huge help, great video. Thank you!

  • @mohammedelhadididi4612
    @mohammedelhadididi4612 4 ปีที่แล้ว

    Amazing video kyle , thank you very much , in just about 15 minutes , I learned what i wouldn't learn in 2 hours , thank you again

  • @rishabsharma5307
    @rishabsharma5307 3 ปีที่แล้ว +1

    Very good tutorial. Thank you!

  • @TyRector
    @TyRector ปีที่แล้ว

    Your explanations are the best!!!!

  • @romanazeem3098
    @romanazeem3098 4 ปีที่แล้ว

    This was the first video i ever on TH-cam without wasting time and giving all the contents surely related to the topic. The topic is well covered and my concepts are just polished again. Just make me blush .. thanks. Btw it was first to watch your video. I do subscribe.

  • @redlobsta1
    @redlobsta1 2 ปีที่แล้ว +2

    clarification @6:36 - it doesnt log "Users Page" because the app.get file path 'users page' is only invoked when the user sends a get request to that page

  • @abirpaul9027
    @abirpaul9027 2 ปีที่แล้ว

    What an explanation truly understood

  • @ikramz
    @ikramz 4 ปีที่แล้ว +1

    Excellent video, really helpful for beginners (especially the explanation on how next() is not the same as function return). But i think its also important to explain on error-handling middleware, that would definitely help the beginners to explore the error-handling pattern in express js

  • @oscarleon3008
    @oscarleon3008 3 ปีที่แล้ว +1

    You explained this perfectly. Thank you for another great video!

  • @iliyabrook2933
    @iliyabrook2933 3 ปีที่แล้ว

    Wow! this is simplest explanation of this!

  • @allysteven1394
    @allysteven1394 3 ปีที่แล้ว

    Absoluty stunning course

  • @jonathansolis8913
    @jonathansolis8913 4 ปีที่แล้ว +2

    Thank you for sharing, you always give us valuable content in the easiest way, keep it up!

  • @3dilson
    @3dilson 2 ปีที่แล้ว

    thank you so much 😭😭😭 bruh, I was having a hard time with that next() function and all I needed was a return statement.
    I can finally sleep 😭😭😭

  • @scottfinamore7377
    @scottfinamore7377 7 หลายเดือนก่อน

    so professional, bravo man thank you

  • @renypacheco4812
    @renypacheco4812 4 ปีที่แล้ว

    Amazing tutorial,,Hoping for more node and express tutorials..
    Love from Philippines 🇵🇭

  • @alfredoalarconyanez4896
    @alfredoalarconyanez4896 2 ปีที่แล้ว

    Thank you for this incredibly clear video !

  • @ulrick90
    @ulrick90 4 ปีที่แล้ว +3

    Jesusss that helped clarify a lot of misconceptions! Short, Simple, & Clear, thank you 👍🏽

  • @leeyahav4754
    @leeyahav4754 4 ปีที่แล้ว

    thnx so much
    you are explainning amazing
    The world is need someone that knows how to explain ,
    thnx so much