Custom Middleware in Express

Aim

To create and implement custom middleware using Express.js.

What is Middleware?

Middleware is a function that runs between the request and response.

Output

Custom middleware is successfully executed.