This project is an online shopping platform built using a microservice architecture. It includes separate services for frontend and backend components, containerized using Docker.
git clone https://github.com/Suhas-30/E-Commerce.git
cd E-CommerceNavigate to the frontend directory, install dependencies, and start the development server:
cd frontend
npm install
npm run devThe frontend will start on http://localhost:5173 (default Vite port).
Make sure Docker is installed and running. Then, from the project root, run:
docker-compose up --buildThis will spin up all the backend microservices defined in docker-compose.yml.
- Node.js and npm
- Docker and Docker Compose
E-Commerce/
├── frontend/ → ⚛️ React frontend
├── auth-service/ → 🔐 Authentication microservice (Login/Register, JWT)
├── product-service/ → 📦 Product management microservice
├── order-service/ → 🛒 Order processing microservice (Cart, Checkout)
├── ml-service/ → 🤖 BERT-based NoSQL Injection Detection (FastAPI)
├── ml-filter-gateway/ → 🧱 Middleware proxy to block malicious payloads
├── nginx/ → 🌐 API Gateway using NGINX (Routes internal services)
└── docker-compose.yml → 🐳 Docker orchestration for all microservices
Feel free to open issues or pull requests.
GitHub: https://github.com/Suhas-30