Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 692 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 692 Bytes

food-ordering-system

Microservices: Clean Architecture, DDD, SAGA, Outbox & Kafka

Tech stack: Python, FastAPI, Kafka, PostgreSQL, Debezium, Docker, Docker Compose

Order microservice

Start the application:

make start

Create an order:

curl --location 'http://localhost:8008/orders' \
--header 'Content-Type: application/json' \
--data '{
    "items": [
        {
            "product_id": "1",
            "quantity": 2,
            "unit_price": 3.0
        },

        {
            "product_id": "2",
            "quantity": 10,
            "unit_price": 1.1
        }
    ]
}'

Order processing