In the context of an application lifecycle, middlewares are defined as special functions that have access to the request (req) and response (res) object along with the next() function located in the pipeline.
Yes, we know that node.js provides us with the JavaScript runtime to execute server side code. That's good! That means we can design and implement some good console apps which can leverage the node.js runtime. But is it all that we want this great javascript runtime environment to offer? Ofcourse not!
The caption over here totally summed up my views regarding the two most fundamental concepts in the world of javascript prior to writing this piece.
Learn how to debug Node.js applications using the Node inspector in VS Code and Chrome DevTools, including stepping through code and inspecting objects.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article