Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🧱 Jaggery – Scalable Microservices-Based E-commerce Platform

Spring Boot Spring Cloud PostgreSQL Apache Kafka Redis Docker Prometheus Grafana Zipkin License: MIT


📜 Overview

Jaggery is a microservices-based e-commerce platform for selling jaggery products. Built with Spring Boot and Spring Cloud, it focuses on scalability, resilience, and observability using modern cloud-native tools.


🚀 Key Features

  • Microservices Architecture – Independent, modular services for flexibility and scalability.
  • 🔐 JWT-based Authentication – Secure, stateless sessions using Spring Security.
  • 🌐 Spring Cloud Gateway – Centralized API gateway for request routing and filtering.
  • 🗄️ Optimized PostgreSQL Database – Indexed schemas and pagination for large-scale user data.
  • Apache Kafka Integration – Enables asynchronous messaging between services.
  • 🛑 Redis Caching – Reduces database load and improves response time by 70%.
  • 📊 Monitoring and Tracing – Real-time metrics via Prometheus, dashboards via Grafana, and distributed tracing via Zipkin.
  • ⚙️ Resilient Architecture – Circuit breakers and auto-restarts achieve 99.9% uptime under simulated failures.

🧰 Tech Stack

Layer Technology
Backend Framework Spring Boot, Spring Cloud
Authentication JWT (Spring Security)
Database PostgreSQL
Messaging Apache Kafka
Caching Redis
Gateway Spring Cloud Gateway
Monitoring Prometheus, Grafana
Tracing Zipkin
Containerization Docker, Docker Compose

🧩 Microservices Overview

Service Description
👤 Auth Service Handles user registration, authentication, and JWT management.
📦 Product Service Manages products and categories, integrated with Redis cache.
🛒 Order Service Handles user orders and interacts with inventory.
🏷️ Inventory Service Manages stock levels and Kafka events.
✉️ Notification Service Sends real-time updates via Kafka listeners.
🌐 API Gateway Routes client requests securely to services.

⚙️ Setup Instructions

1️⃣ Clone the Repository

git clone [https://github.com/yourusername/jaggery.git](https://github.com/yourusername/jaggery.git)
cd jaggery

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages