So far, we have been developing our FlixOneStore. In the previous chapter, we added a shopping cart and shipping facility. However, some organizations may not need such facilities, as some organizations have everything in the house. For instance, our FlixOneStore requires an external component to help us track the assignment and payment-management system.
In this chapter, we will discuss the external components with the help of code examples. We will mainly cover the following topics:
- Understanding the middleware
- Adding logging to our API in the middleware
- Intercepting HTTP requests and responses by building our own middleware
- JSON-RPC for RPC communication