Learn Express Middleware In 14 Minutes

386,440
0
Published 2020-03-28
🚨 IMPORTANT:

1 Year Free Hosting: www.atlantic.net/webdevsimplified
Use code KYLE for an additional $50

Whether you know it or not you have written middleware if you have done any work with express. Middleware is simply any function that occurs between the time the server receives a request and the time a server sends a response. Understanding exactly how to use middleware effectively, though, can be challenging which is why in this video I cover everything you need to know about middleware in express. I even cover the most common problems I see with middleware at the end of the video.


📚 Materials/References:

Middleware Blog Article: blog.webdevsimplified.com/2019-12/express-middlewa…


🧠 Concepts Covered:

- What express middleware is
- How to define middleware
- How middleware executes
- The biggest middleware problems


🌎 Find Me Here:

My Blog: blog.webdevsimplified.com/
My Courses: courses.webdevsimplified.com/
Patreon: www.patreon.com/WebDevSimplified
Twitter: twitter.com/DevSimplified
Discord: discord.gg/7StTjnR
GitHub: github.com/WebDevSimplified
CodePen: codepen.io/WebDevSimplified


#ExpressMiddleware #WDS #Nodejs

All Comments (21)
  • @daemyno
    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 :)
  • @jimmymac601
    It is ridiculous how good an instructor you are.
  • @Syed-wj4pj
    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
    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! 😊
  • @emanuelsiu1232
    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.
  • @User36282
    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.
  • @noidea176
    It is actually unreal how good you are at teaching, great job man.
  • @simy261
    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!
  • 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.
  • The only thing I hate about this video is it ended! This is gold content right here! ❤
  • @zhan2780
    It's been a while since I enjoyed learning something. I literally laughed! You are definitely one of the best teachers out there!
  • @prangshujg5920
    Exactly I ran through the same, cannot use headers .... And here you are .... explaining things so easily, crisp and clear !! Thanks man 👍
  • @harry-cee
    Hey Kyle, I had been looking for detailed explanation of express middleware. Thank you for this video! You went above and beyond. Subscribed.
  • 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!
  • @aswathis2938
    Your explanation of middleware is just on point....the best video to understand middleware in just 15 mins which just covers everything 💗
  • @CodeRedCoder
    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.
  • 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
  • @therimalaya
    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.
  • 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
  • @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!