Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›’ ShopSphere – Cloud Native DevOps Platform

Production-style three-tier e-commerce application demonstrating modern DevOps practices including CI/CD automation, containerization, Kubernetes orchestration, cloud deployment, infrastructure as code, monitoring, and autoscaling.


πŸš€ Project Highlights

βœ… Automated CI/CD Pipeline with Jenkins βœ… Dockerized Multi-Service Architecture βœ… Kubernetes Deployment & Orchestration βœ… AWS Cloud Infrastructure βœ… Infrastructure Provisioning using Terraform βœ… Monitoring with Prometheus & Grafana βœ… Kubernetes Autoscaling Support βœ… Reverse Proxy Configuration βœ… Production-Style Deployment Workflow


πŸ— System Architecture

Developer
   ↓
GitHub Repository
   ↓
Jenkins CI/CD Pipeline
   ↓
Docker Image Build
   ↓
Kubernetes Deployment
   ↓
AWS Cloud Infrastructure
   ↓
Monitoring with Prometheus & Grafana

βš™οΈ DevOps Stack

Category Technologies
CI/CD Jenkins
Containerization Docker, Docker Compose
Orchestration Kubernetes
Cloud Platform AWS
Infrastructure as Code Terraform
Monitoring Prometheus, Grafana
Reverse Proxy Apache
Database PostgreSQL
Version Control Git, GitHub

πŸ’» Application Stack

Frontend

  • React
  • Vite
  • TailwindCSS
  • Redux Toolkit
  • Axios
  • React Router

Backend

  • Node.js
  • Express.js
  • JWT Authentication
  • bcrypt
  • Zod Validation

Database

  • PostgreSQL

πŸ“‚ Project Structure

ShopSphere/
β”‚
β”œβ”€β”€ apache/conf/          # Apache reverse proxy configuration
β”œβ”€β”€ backend/              # Backend application
β”œβ”€β”€ frontend/             # Frontend application
β”œβ”€β”€ db/init/              # Database initialization scripts
β”œβ”€β”€ docs/                 # Documentation
β”œβ”€β”€ docker-compose.yml    # Multi-container setup
β”œβ”€β”€ README.md
β”‚
β”œβ”€β”€ k8s/                  # Kubernetes manifests
β”œβ”€β”€ terraform/            # Infrastructure as Code
β”œβ”€β”€ monitoring/           # Prometheus & Grafana configs
└── Jenkinsfile           # CI/CD pipeline configuration

πŸ”„ CI/CD Workflow

The CI/CD pipeline automates the entire deployment lifecycle:

  1. Developer pushes code to GitHub
  2. Jenkins pipeline triggers automatically
  3. Application build process starts
  4. Docker images are generated
  5. Automated validation and checks run
  6. Containers are deployed
  7. Kubernetes updates workloads
  8. Monitoring stack tracks application health

🐳 Docker Deployment

Build & Run Containers

docker compose up -d --build

🌐 Application Access

Frontend

http://localhost:5173

Backend Health Endpoint

http://localhost:4000/health

API Base URL

http://localhost:4000/api/v1

☸ Kubernetes Deployment

Deploy Application

kubectl apply -f k8s/

Verify Running Pods

kubectl get pods

πŸ“Š Monitoring & Observability

Prometheus

  • Collects infrastructure and application metrics
  • Monitors container and Kubernetes performance

Grafana

  • Visualizes monitoring dashboards
  • Displays CPU, memory, network, and application metrics

☁️ Infrastructure as Code

Terraform is used to provision and manage infrastructure resources, enabling:

  • Automated provisioning
  • Scalable infrastructure management
  • Consistent deployments
  • Cloud resource automation

πŸ” Security Features

  • JWT Authentication
  • Password Hashing using bcrypt
  • Helmet Security Middleware
  • Input Validation using Zod
  • Environment Variable Protection
  • Secure API Practices

πŸ“ˆ Scalability Features

  • Kubernetes Horizontal Pod Autoscaling
  • Stateless containerized architecture
  • Independent service deployment
  • Scalable cloud infrastructure design

πŸ“Έ Project Screenshots

Jenkins Pipeline

Add screenshot here

Docker Containers

Add screenshot here

Kubernetes Pods

Add screenshot here

Grafana Dashboard

Add screenshot here

Application UI

Add screenshot here


🧠 Key Learning Outcomes

This project demonstrates practical experience with:

  • CI/CD Automation
  • Cloud-Native Application Deployment
  • Kubernetes Orchestration
  • Infrastructure as Code
  • Monitoring & Observability
  • Docker Containerization
  • Reverse Proxy Configuration
  • Production Deployment Workflows

πŸš€ Future Enhancements

  • GitHub Actions Integration
  • ArgoCD GitOps Workflow
  • ELK Stack Logging
  • Blue-Green Deployment Strategy
  • HTTPS & SSL Automation
  • Service Mesh Integration

πŸ‘¨β€πŸ’» Author

Mazhar Ali Mansuri

Aspiring DevOps Engineer focused on:

  • Cloud Infrastructure
  • Automation
  • Kubernetes
  • AWS
  • Scalable Deployments
  • Production-Grade DevOps Workflows

⭐ Repository Support

If you found this project useful, consider giving it a star ⭐

About

Its a Three tier E-commerce application DevOps project with a full CI/CD automated Pipeline when a Developer commit changes it tested automatically and Deployed if App works fine

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages