After writing the user management service (UMS) and the product management service (PMS), let's now connect the two and write the order management service (OMS).
In this chapter, you will learn how to write a microservice that connects to another microservice to verify the information and then process data asynchronously. You will apply the knowledge from Chapter 10, Understanding Microservices Communication, to have this service validate the data. By the end of this chapter, you will have written the final piece of our example app: a microservice that connects the other two.
We will cover the following sections in this chapter:
- Getting started
- Creating our routes
- Creating our models
- Creating our controllers
- Connecting to the PMS
- Adding payment methods
Let's begin!