Microservices is an architectural style and pattern that structures an application as a collection of coherent services. Each service is highly maintainable, testable, loosely coupled, independently deployable, and precisely focused.
The Python Flask based microservices project is composed of the following 4 projects:
- A user can log in.
- A user can register.
- A user can log out.
- A user can browse products.
- A user can add a product to an order.
- A user can adjust the quantity of an order item.
- A user can place an order.
- UserClient.py is used to communicate with user microservice.
- ProductClient.py is used to communicate with product microservice.
- OrderClient.py is used to communicate with order microservice.
- Sessions are used to store user and order data.
- The application is deployed using a docker compose.