Spring Project
Bookstore: Architecture
The bookstore application is cut into the following microservices:
- The catalog microservice provides access to the book catalog. It has its own local database but also accesses the Google Books API.
- The order microservice is responsible for the customer and order management.
When ordering a book, it looks up the books in the catalog service, invokes the payment service for payment, and sends a message to the shipping service via a message queue.
- The payment microservice makes payments using the PayPal SOAP API.
- The shipping microservice simulates the shipping of book orders.