https://github.com/nikhil25803/fastapi-microservice
A Warehouse-Store concept-based microservice, built using Fast API, Redis, and ReactJS. Leveraged using Redis Streams.
https://github.com/nikhil25803/fastapi-microservice
fastapi javascript python reactjs redis redis-streams shell
Last synced: 2 months ago
JSON representation
A Warehouse-Store concept-based microservice, built using Fast API, Redis, and ReactJS. Leveraged using Redis Streams.
- Host: GitHub
- URL: https://github.com/nikhil25803/fastapi-microservice
- Owner: nikhil25803
- License: mit
- Created: 2023-04-09T13:53:10.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-09T23:41:01.000Z (about 3 years ago)
- Last Synced: 2025-02-10T01:18:42.131Z (over 1 year ago)
- Topics: fastapi, javascript, python, reactjs, redis, redis-streams, shell
- Language: JavaScript
- Homepage:
- Size: 181 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 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
    
## Project Summary

+ ### 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`.