Event driven simple online-order creating and processed app. Here we have used following tech-stack:
- Python3.12.
- FastAPI Framework for defining the endpoints.
- Kafka for producing the event-data and consumer consuming the event-data.
- Dockerfile for building the image file.
- Docker compose for installing the required serivces [Kafka, Build the product from Dockerfile].
- Online order data will be stored into temporary dictionary variables.
- Pydantic model is used for collecting the order-inputs, response the craeated-order output.
- Two endpoints are available: /orders and /orders{order_id}