Project page: https://github.com/users/izharishaksa/projects/6/views/1
Implementing Event Driven Architecture and use Domain Driven Design approach.
- Run
docker-compose up - Please wait until all services running
- Demonstrate using
ecommerce-system-example.postman_collection.json
- Create product
POST /products - Register customer
POST /customers - Create order
POST /orders, order status isplaced, eventORDER_PLACEDis sent ORDER_PLACEDis consumed byinventory-service, if inventory is enough or product is exist, eventORDER_CREATEDis sent, otherwiseORDER_REJECTED. Stock and sold are updated accordingly.ORDER_CREATEDis consumed byorder-service, status and total price is updatedORDER_REJECTEDis consumed byorder-service, status is updated