Intro to middleware

What is a middleware?

Any kind of standard processing that happens on the server side between the time when a request is received and when the response is send to the browser. The library supporting that kind of standard processing is called middleware library.

Examples of middleware:

I already have taught you about the static express middleware. You are going to see more examples of middlewares as you go along with the next tutorials.