Understanding the requirements for the transaction microservice
Everything starts from the requirements. Software requirements are basically instructions that tell programmers exactly what a software program needs to do. They’re like a recipe for the program, outlining the ingredients (features) and steps (functions) needed. Before starting our development, we need to understand our requirements.
The system consists of two main microservices:
- Transaction microservice: This microservice will be responsible for processing transactions. It will receive transaction information, validate the account associated with the transaction, and process the transaction.
- Account microservice: This microservice will provide account information and validation functionality. We implemented this service in Chapter 5. It is responsible for verifying if an account exists and is in good standing.
The transaction microservice will communicate with the account microservice to validate...