barkhayot / food-microservice

Microservice (Built with Django + Kafka)
2 stars 0 forks source link

Food Order Delivery (Microservice)

Multiple Services with Django App and Kafka

Build Status

Application has been devided into 3 microservices using Kafka for Event sharing. For Backend Services Django Framework has been used and Database has been sepated. For Kafka running Docker has been used. For getting data as a consumer service multithreading has been implemented inside all Django applications.

To run application clone the source and install all required dependencies

Installation

Application requires Python v3.8+ to run.

Install the dependencies and devDependencies and start the server.


pip install requirements.txt

In order to run multithreading script open new terminal and run following script


python3 manage.py run_script

The following script has been added inside app folder


project/app/management/commands --> run_script.py

explanation

Markdown Monster icon

scree of usage

Markdown Monster icon