Middleware
- Middleware comes in between your request and business logic.
- It is mainly used for:
- Capture Logs
- Enable Rate Limit
- Routing
- Authentication
- There are third party middleware such as
body-parser - You can also write your custom middleware
body-parser