-
Explain middleware, answer as though I were a non-technical recruiter.
- Middleware is a function that has access to the request and response objects. It can be used to modify the request or response objects, or to perform some other action. Middleware is executed in the order it is defined, so it is important to define middleware in the correct order.
-
Express is the most popular _____.
- NodeJS framework. It is popular because it is easy to use and has a large ecosystem of plugins and middleware.
-
Express is “unopinionated”. What does that mean?
- Express is unopinionated, meaning that it does not have a set of rules or conventions that you must follow. It is up to you to decide how you want to structure your application.
-
What is a module and why is modularity useful to us as developers?
- A module is a collection of code that can be used in other programs. Modularity is useful because it allows us to break our code into smaller pieces that are easier to maintain and reuse.