---
title: "Discussion on \"How Middlewares Work In ExpressJS\" | Hashnode"
description: "Discussion on \"How Middlewares Work In ExpressJS\". Middlewares in ExpressJS are functions that get executed during the lifecycle of a request made to the ExpressJS server. These functions have access to…"
url: "https://hashnode.com/posts/how-middlewares-work-in-expressjs/603bd0940dad7e6b99e21424"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How Middlewares Work In ExpressJS](https://emekarr.hashnode.dev/how-middlewares-work-in-expressjs?utm_source=hashnode&utm_medium=feed)

Middlewares in ExpressJS are functions that get executed during the lifecycle of a request made to the ExpressJS server. These functions have access to…

Feb 28, 2021 · 3 min read · emekarr.hashnode.dev  
Updated May 21, 2022  
Read the article

-   [#express](https://hashnode.com/tag/express)
-   [#expressjs-cilb5apda0066e053g7td7q24](https://hashnode.com/tag/expressjs-cilb5apda0066e053g7td7q24)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#js](https://hashnode.com/tag/js)

## Written by

[Chiemekam Anyanwu-Ebere](https://hashnode.com/@emekarr)

@emekarr · Lagos, Nigeria.

  
[View profile](https://hashnode.com/@emekarr)

Backend Engineer | Golang & NodeJS | Azure | React | Ethical Hacker

I am a FullStack Engineer and a student of Applied Physics with a passion for Software and learning.

## Responses 2

Markdown supported · ⌘↵ to post

[Catalin Pit](https://hashnode.com/@Catalinpit)

[Mar 1, 2021](https://hashnode.com/posts/how-middlewares-work-in-expressjs/603bd0940dad7e6b99e21424/comment/603c8b759aeaec6b8ed55a5e)

Nice one! 👍

[Rauf Yusuf](https://hashnode.com/@rogy)

[Feb 28, 2021](https://hashnode.com/posts/how-middlewares-work-in-expressjs/603bd0940dad7e6b99e21424/comment/603bfe8f0dad7e6b99e21aab)

This is a very great article. Educative and refreshing at the same time. Please do keep up the great work.
