InterviewSolution
Saved Bookmarks
| 1. |
What is middleware? |
|
Answer» Middleware comes in between your request and business logic. It is MAINLY used to CAPTURE logs and ENABLE rate limit, routing, authentication, basically whatever that is not a PART of business logic. There are third-party middleware ALSO such as body-parser and you can write your own middleware for a specific use case. |
|