- Mastering Web Application Development with Express
- Alexandru Vl?du?u
- 80字
- 2021-08-05 17:54:18
Chapter 2. Component Modularity Using Middleware
In this chapter, we will look at the middleware system used by Express and see how it enables us to create modular web applications. This chapter will cover the following topics:
- How the middleware system works
- Creating configurable middleware
- Differences between the router and the middleware system
- Why loading middleware in order matters
- Handling errors using middleware
- Mounting subapplications with Express
- Creating a middleware system similar to the one used in Express