ποΈ E-Commerce App
A full-stack e-commerce application built with Java for backend services, containerized with Docker, and deployable via Kubernetes (k8s).
π Features
- Product management (CRUD)
- User authentication and authorization
- Shopping cart and checkout flow
- RESTful API endpoints
- Containerized deployment using Docker
- Kubernetes-ready configuration
π§© Tech Stack
- Backend: Java (Spring Boot)
- Build Tool: Maven/Gradle
- Containerization: Docker
- Orchestration: Kubernetes (k8s folder)
- CI/CD: GitHub Actions (in
.github/workflows)
π Project Structure
ecommerce-app/ βββ src/main/ # Source code (controllers, services, entities) βββ k8s/ # Kubernetes deployment files βββ .github/workflows/ # CI/CD pipeline configurations βββ Dockerfile # Docker image setup βββ build.sh # Build automation script βββ .project # IDE configuration
βοΈ Setup & Run
- Clone the repo
git clone https://github.com/medelafia/ecommerce-app.git cd ecommerce-app
- Build the project
bash build.sh
- Run with Docker
docker build -t ecommerce-app . docker run -p 8080:8080 ecommerce-app
- Deploy with Kubernetes
kubectl apply -f k8s/
π§ Future Improvements
- Add frontend (React or Angular)
- Integrate payment gateway
- Implement order tracking
- Add test coverage
π€ Author
Mohamed El Afia π§ mohamed.elafia@etu.uae.ac.ma π https://github.com/medelafia