grit:Tee is a full e-commerce marketplace designed for T-shirt creators and fans, built with a microservice architecture featuring a shopping cart, order management, user/seller analytics, and faceted product search.
Architecture & Tech Stack
- Frontend: Angular 17+ with Angular Material and Ng2-charts
- Backend: Spring Boot 3.x Microservices
- Gateway: Spring Cloud Gateway with JWT validation, CORS, and header injection
- Discovery: Eureka-based service registry
- Database: MongoDB Atlas (Cloud)
- Object Storage: Cloudflare R2
- Messaging: Apache Kafka for async service events
- Host: Hetzner Virtual Machine
Core Features
🔍 Faceted Product Search & Pagination
- Regex-based keyword search on product names and descriptions
- Price and category facets
- Paginated results to maintain performance at scale
🛒 Two-Step Checkout & Reservation Logic
- Step 1 (Pending): Reserve stock at checkout initiation
- Step 2 (Commit): Confirm order and convert reservation to permanent stock deduction
- Scheduled cleanup task runs every 60s to release expired reservations
📊 Advanced Analytics Pipelines
- Client View: Total spend, top categories, and most purchased products
- Seller View: Total revenue, best-selling products, and units sold
CI/CD & Code Quality
- Jenkins pipeline orchestrates the full lifecycle from checkout to deploy and verify
- Every pull request is automatically analyzed by SonarCloud.io
- Quality gate enforces no code with security vulnerabilities is merged into main
- Verified builds are automatically containerized and deployed to a staging environment
- Rollback support included in the deployment pipeline
Technologies Used
- Angular 17+, TypeScript — Frontend
- Spring Boot 3.x, Java — Backend microservices
- Spring Cloud Gateway, Eureka — API gateway and service discovery
- MongoDB Atlas — Cloud database
- Apache Kafka — Async messaging
- Docker, Jenkins — CI/CD pipeline
- SonarCloud — Code quality gates
- Cloudflare R2 — Media/image storage
Explore grit:Tee
A full-stack e-commerce marketplace with microservice architecture and CI/CD pipeline.
View on GitHub