Node.js Middleware
Express.js is a very lightweight and minimalist web framework for Node.js with routing and middleware functionality at its core concept. Basically, an Express application is a series of middleware function calls. Middlewares is such an important concept in Express.js that once you understand it clearly, you will be able to create a more robust and maintainable application. To read more, click Optimize Middleware implementation in Express application - part 3here