How to build an enterprise platform with microservices, NATS, and the integration platform
Even though we've discussed multiple layers of the API-driven enterprise platform approach, not all these layers are used in all practical scenarios. Depending on the complexity of the application, different layers are introduced. For a simple application such as our OPD application, we don't need all four layers that we discussed in the previous section. The following diagram depicts how our OPD application fits into the API-driven approach we discussed previously:
In the preceding diagram, we are implementing our business logic as microservices and using NATS to communicate within these services. In addition to that, we are using an integration services layer to implement certain functionalities that involve interacting with more than one service or modifying the responses that are coming...