Learn Express Middleware In 14 Minutes

Поділитися
Вставка
  • Опубліковано 1 лют 2025

КОМЕНТАРІ • 463

  • @daemyno
    @daemyno 4 роки тому +794

    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 роки тому +26

      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 роки тому +2

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

    • @anjobihis2052
      @anjobihis2052 4 роки тому

      Wow, great mindset actually. Nice

    • @itproguide
      @itproguide 4 роки тому

      Exactly what I need...thanks bro

  • @jimmymac601
    @jimmymac601 4 роки тому +307

    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 роки тому +174

    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

  • @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!

  • @briandev8
    @briandev8 3 роки тому +9

    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!!!

  • @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.

  • @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.

  • @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.

  • @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

  • @noidea176
    @noidea176 3 роки тому +5

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

  • @ינוןאלבז-כ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 !!!

  • @hirenaswar8104
    @hirenaswar8104 2 роки тому +1

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

  • @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😄❤❤❤

  • @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!

  • @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.

  • @aryanmehta7375
    @aryanmehta7375 9 місяців тому

    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...

  • @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!

  • @mohdhussain5918
    @mohdhussain5918 3 роки тому +1

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

  • @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.

  • @BigSmoke-r9w
    @BigSmoke-r9w 7 місяців тому +1

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

  • @kevinkiumbe5620
    @kevinkiumbe5620 Рік тому

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

  • @jamarjones4013
    @jamarjones4013 Рік тому

    Thanks for providing quality content

  • @felipemelendez5741
    @felipemelendez5741 3 роки тому

    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!

  • @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

  • @ryaaan0751
    @ryaaan0751 Рік тому

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

  • @taofeeqomotolani2311
    @taofeeqomotolani2311 Рік тому

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

  • @mattoattacko
    @mattoattacko 4 роки тому +14

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

  • @myyoutubechannel2858
    @myyoutubechannel2858 Рік тому +1

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

  • @sufiyanhabib4431
    @sufiyanhabib4431 26 днів тому

    You are Awsome. This is the best video to understand Express Middleware.

  • @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.

  • @Enzo-sp3bf
    @Enzo-sp3bf 11 місяців тому

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

  • @therimalaya
    @therimalaya 4 роки тому +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.

  • @generallifing
    @generallifing 2 роки тому

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

  • @shikharchaudhary6984
    @shikharchaudhary6984 4 роки тому +1

    For me, Your article was better than Express documentation

  • @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!

  • @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

  • @bipinmsit7380
    @bipinmsit7380 Рік тому

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

  • @danlevy9478
    @danlevy9478 3 роки тому

    Best explanation on UA-cam period.

  • @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.

  • @delphineamaka9422
    @delphineamaka9422 Рік тому

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

  • @bruhmoment3731
    @bruhmoment3731 2 роки тому

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

  • @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 👍

  • @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...

  • @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 💗

  • @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.

  • @romanazeem3098
    @romanazeem3098 4 роки тому

    This was the first video i ever on UA-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.

  • @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

  • @cramyboba1013
    @cramyboba1013 Місяць тому +2

    it's really helpful, thanks a lot :0

  • @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..💖💖💖

  • @billnewsr.9314
    @billnewsr.9314 Рік тому

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

  • @contactdi8426
    @contactdi8426 4 роки тому

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

  • @johnbaker2170
    @johnbaker2170 4 роки тому

    Bruh I triple clicked that like button so many times . The name web dev simplified
    not only sounds cool but you do exactly what it says

  • @carlos66083
    @carlos66083 4 роки тому

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

  • @skullwise
    @skullwise 4 роки тому

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

  • @dennishofke
    @dennishofke 4 роки тому

    Super interesting and well explained. Awesome content dude, you deserve to become a big yt'er

  • @veilchromech
    @veilchromech 11 місяців тому +1

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

  • @suomiseikkailut3932
    @suomiseikkailut3932 Рік тому

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

  • @jasonhuang4333
    @jasonhuang4333 3 роки тому

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

  • @millikin2099
    @millikin2099 Рік тому

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

  • @wendelvanhespen8740
    @wendelvanhespen8740 6 місяців тому

    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.

  • @Steve-rx4sw
    @Steve-rx4sw 3 роки тому

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

  • @ayikkathilkarthik4312
    @ayikkathilkarthik4312 4 роки тому

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

  • @earlymorningcodes6100
    @earlymorningcodes6100 Рік тому

    crystal clear explanation ❤ love from India

  • @AbdoTech0
    @AbdoTech0 4 роки тому +4

    I hope you get 1M Subs , you deserve it 😍

  • @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 😂

  • @tigana
    @tigana 2 роки тому +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 Рік тому

      @@earlymorningcodes6100Yeah:)

    • @tigana
      @tigana 9 місяців тому

      @@earlymorningcodes6100Yeah:)

    • @tigana
      @tigana Місяць тому

      Yeah I do backend work at a startup now. :)

  • @toddbaldwin9790
    @toddbaldwin9790 2 роки тому

    Thanks!

  • @jonathansolis8913
    @jonathansolis8913 4 роки тому +2

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

  • @ethanwraith8970
    @ethanwraith8970 3 роки тому

    best explanation I've ever seen! You rock.

  • @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

  • @sanjayr3467
    @sanjayr3467 Місяць тому +1

    great explanation!

  • @KevinJohnMulligan
    @KevinJohnMulligan 4 роки тому

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

    • @KevinJohnMulligan
      @KevinJohnMulligan 4 роки тому

      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 4 роки тому +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.

  • @jsonslim
    @jsonslim 4 роки тому

    Such a nice explanation, a little deeper to basics

  • @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.

  • @firman175
    @firman175 3 роки тому +1

    You are simplify my learning, thanks Kyle

  • @jamjam3448
    @jamjam3448 3 роки тому

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

  • @philofblood855
    @philofblood855 2 роки тому

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

  • @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

  • @sahelee1
    @sahelee1 4 роки тому

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

  • @IceBreakerGamer
    @IceBreakerGamer 4 роки тому

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

  • @Modou_Gueye
    @Modou_Gueye 3 місяці тому +1

    Thank you for your efforts, it helped a lot.

  • @n3uron_bloom938
    @n3uron_bloom938 Рік тому

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

  • @gyappumusoka4016
    @gyappumusoka4016 3 роки тому

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

  • @uwspstar2008
    @uwspstar2008 4 роки тому +3

    Thanks for share, love these short tutorials!

  • @MarcosVella
    @MarcosVella 4 роки тому +2

    Your content is amazing! Love the way you manage to simplify every single subject you speak about. Cheers from Brazil!

  • @muhammadjunaid3167
    @muhammadjunaid3167 9 місяців тому

    Best Middleware tutorial.

  • @JanithaR
    @JanithaR 3 роки тому

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

  • @SiriusFuenmayor
    @SiriusFuenmayor 3 роки тому

    Excellent, concise and complete explanation

  • @3dilson
    @3dilson 3 роки тому

    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 😭😭😭

  • @TyRector
    @TyRector 2 роки тому

    Your explanations are the best!!!!

  • @sahllsaharn4664
    @sahllsaharn4664 2 роки тому

    great video bro really helped me learn new concept and you really simplified it [thumbs up]

  • @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

  • @naveenverma2390
    @naveenverma2390 4 роки тому

    great explanation man ,better then those paid courses explanation

  • @nigamkalpataruchinhara1951
    @nigamkalpataruchinhara1951 Рік тому

    You got a subscriber Man..thanks a lot for this video. Keep up the good work :)

  • @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

  • @anjneesharma2984
    @anjneesharma2984 4 роки тому

    Very good camera and audio quality.

  • @hasanali6798
    @hasanali6798 4 роки тому +4

    This is what i needed. Thank you!!!