This is an E-Commerce web application built using the MERN stack.
- Frontend: React.js (⚛️)
- Backend: Node.js (🟩)
- Database: MongoDB (🍃)
- Containerization: Docker (🐳)
- Orchestration: Kubernetes (minikube)
- MERN Stack: A powerful combination of MongoDB, Express.js, React.js, and Node.js.
- Containerization: Docker is used to containerize the web application for easy deployment and scalability. <<<<<<< HEAD
- **Orchestration: Kubernetes minikube cluster is used for orchestrating the containerized web application.
- **CI/CD: =======
- Orchestration: Kubernetes minikube cluster is used for orchestrating the containerized web application.
- CI/CD: Circle-ci is used for automating the CI/CD pipeline.
origin/main
Make sure you have Docker installed on your machine. Make sure you have Minikube installed on your machine. <<<<<<< HEAD
Make sure you have helm installed on your machine. Make sure you have Circle-ci, configured, the local runner host VM setup in the Circle-ci UI.
origin/main
-
Clone the repository:
git clone https://github.com/huzaifa678/E-Commerce-Project.git cd E-Commerce-Project -
Build Docker image:
docker-compose build
-
Run Docker containers:
docker-compose up
-
Start the Minukube cluster
minikube start
-
Start the Backend
kubectl port-forward 4001:4001
-
Access the application:
minikube service frontend
Open your browser and navigate to
http://localhost:3000