Implemented real-time cart integration using React, FastAPI, and Valkey with Docker Desktop#13
Open
pappusanodiya wants to merge 3 commits into
Open
Implemented real-time cart integration using React, FastAPI, and Valkey with Docker Desktop#13pappusanodiya wants to merge 3 commits into
pappusanodiya wants to merge 3 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Valkey E-Commerce Cart Demo
A real-time E-Commerce cart management system built using React, FastAPI, Valkey, and Docker.
Features
Real-time Add to Cart functionality
FastAPI backend APIs
Valkey in-memory database integration
Dockerized Valkey setup
Dynamic cart operations:
Add items
Update quantity
Remove products
Clear cart
Persistent cart storage using Valkey
Swagger API documentation support
Tech Stack
React JS
FastAPI (Python)
Valkey Database
Docker Desktop
REST APIs
JavaScript
Project Workflow
Frontend (React) → FastAPI Backend → Valkey Database (Docker)
Whenever a user adds a product to the cart, the product details are instantly pushed to the Valkey database through backend APIs.
Run Locally
Start Valkey using Docker
Start Backend
cd backend python -m uvicorn main:app --reload --port 8001Start Frontend
cd frontend npm install npm startAPI Documentation
Swagger Docs:
Hackathon Goal
To demonstrate ultra-fast real-time cart management using Valkey as a high-performance in-memory database for modern E-Commerce applications.