• Express.js: Writing middleware

    How to write Express.js middleware First, let's understand what an Express middleware is. An Express middleware is a function which is allowed to be a part of Express's request-response cycle. This f...