Airlines ticket microservice application was developed with JAVA and Spring Boot. It communicates to other services using GRPC and RabbitMQ. There are three different service which are used in this application:
Service using POSTGRESQL as a database.
This service provide list tickets and sell tickets. Whenever someone is enforming to buy ticket, the following steps take place respectively
- if someone has discount code service will trigger Discount Service to get discount.
- If everything is success Ticket Service will trigger Checking Service to pass ticket data using GRPC
- last step service will trigger Notfiy service to send email to user using RabbitMQ