All projects

Full Stack / DevOps

E-Commerce Platform

A full-stack e-commerce platform built with Spring Boot microservices and Angular, with CI/CD automation and code quality analysis.

  • Java
  • Spring Boot
  • Angular
  • TypeScript
  • MongoDB
  • Docker
  • Jenkins
  • SonarQube

Overview

E-Commerce Platform is a full-stack marketplace built with Spring Boot microservices and an Angular frontend, designed around separate responsibilities for authentication, product management, media storage, routing, and service discovery.

The backend consists of User, Product, and Media services, supported by a Gateway and Eureka Discovery service. MongoDB is used for persistence, while product and profile images are stored separately using MinIO object storage.

The Angular application provides authentication flows, public product browsing, seller product management, image uploads, and protected routes based on user roles.

The project was extended with a Jenkins CI/CD pipeline and SonarQube integration to automate testing, code analysis, containerization, deployment, and quality validation.

Problem Statement

An e-commerce platform requires more than basic product CRUD operations. Authentication, media handling, service communication, access control, frontend state, deployment automation, and continuous quality checks all need to work together reliably.

This project addresses those concerns by separating the backend into dedicated microservices, centralizing external traffic through an API Gateway, securing operations by role and ownership, and providing a responsive frontend for both clients and sellers.

The delivery workflow further reduces manual validation and deployment steps by integrating automated testing, static analysis, and deployment into CI/CD.

Features Implemented

  • Built independent Spring Boot microservices for users, products, and media management.

  • Implemented a centralized API Gateway for routing, authentication, and access control.

  • Added Eureka service discovery for dynamic communication between backend services.

  • Implemented JWT-based authentication using Spring Security.

  • Added CLIENT and SELLER roles with role-based authorization.

  • Built user registration, login, profile management, and avatar functionality.

  • Implemented full CRUD operations for seller-managed products.

  • Added public product listing and product detail endpoints.

  • Implemented image upload and retrieval through a dedicated Media service.

  • Added file validation for image type and upload size.

  • Stored application data in MongoDB with logical database separation between services.

  • Stored product and profile images using MinIO object storage instead of the database.

  • Built an Angular frontend with routing, authentication guards, role guards, HTTP interceptors, and reactive forms.

  • Added frontend validation and error handling for authentication, product forms, and media uploads.

  • Containerized backend services, frontend, databases, and supporting infrastructure with Docker.

  • Managed the complete local application stack using Docker Compose.

  • Configured HTTPS for the Gateway and Angular frontend.

  • Added backend unit and integration testing with JUnit.

  • Added frontend unit testing using Jasmine and Karma.

  • Created a Jenkins pipeline to automate build, test, analysis, containerization, and deployment stages.

  • Configured pipeline failures to stop deployments when tests or validation stages fail.

  • Integrated SonarQube into the CI workflow for automated static code analysis.

  • Added SonarQube quality gates to detect vulnerabilities, code smells, maintainability issues, and coverage problems.

Technical Highlights

  • Designed a Spring Boot microservices architecture with API Gateway and Eureka service discovery.

  • Secured APIs using JWT authentication, Spring Security, role-based access, and resource ownership checks.

  • Separated structured application data in MongoDB from binary media stored in MinIO.

  • Built an Angular SPA using route guards, interceptors, reactive forms, and protected seller workflows.

  • Automated testing, code analysis, containerization, and deployment using Jenkins.

  • Integrated SonarQube quality gates into CI to prevent low-quality or insecure builds from progressing.

Impact

The project evolved from a functional e-commerce application into a complete full-stack delivery workflow covering development, testing, quality assurance, containerization, and deployment.

The microservices architecture keeps authentication, catalog, and media responsibilities separated, while the Angular frontend provides a unified user experience.

Jenkins and SonarQube add continuous validation to the development lifecycle, helping ensure that application changes are tested and analyzed before deployment.