In this book, we've explored numerous patterns related to building cloud-native applications. Now, we'll apply these patterns to a real-world use case. This final chapter demonstrates how to leverage cloud-native patterns when building various aspects of such applications, including:
Connecting services
Managing decentralized data
Event processing
Stream processing
Exposing managed APIs
Connecting frontend applications
Performing dynamic application management
Building an Online Retail System
Our use case is a simplified online retail application for searching, purchasing, and shipping goods. While a real retail application is highly complex, this simplified version retains diverse business capabilities and requirements to effectively demonstrate the application of cloud-native patterns.
Key requirements and capabilities are categorized as follows:
Product catalog
Order management
Order tracking and prediction
Product recommendations
Customer and partner management
Let's examine each in more detail:
Product Catalog
The product catalog allows customers to search for products and obtain essential details for purchasing. Key functionalities include:
Searching for products
Obtaining product details for purchase decisions
Enabling product administrators and sellers to add, remove, and update products
Q- my notes :
The features in this app are :
—> Searching for products :
You have a functionality to build search bar where the user can type their preferred product and search for it
—> Obtaining product details for purchase decisions
So you have a description of the particular product oky
—> Enabling product administrators and sellers to add, remove, and update products
First we have deffirent using privileges one admin , one normal user
We need to make the administrator tha ability to add , remove and update products
Q- now let’s focus on the Product Catlog service give some ui’s as proff of concept how the front end may look like for these 3 different user story oky