Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 1.47 KB

README.md

File metadata and controls

21 lines (12 loc) · 1.47 KB

FastAPI + Microservices

A Warehouse-Store concept-based microservice, built using Fast API, Redis, and ReactJS. Scripted in Python, JavaScript, and setup automation using shell scripting.

Tech Stack

FastAPI Redis React JavaScript Shell Script

Project Summary

image

  • warehouse-server

Responsible for creating products, and deciding the price and quantity of the product. One can add, list, review and delete the product created.

  • store-server

Responsible for creating orders, on every order placed, 20% of the amount will be added as a tax and will update the status of the product as pending, or completed.

While placing the order, the script is also responsible to check whether the ordered amount out-numbers the available amount or not. If yes, it set the status of the product as pending.

All this happened in the background as a Redis Stream.