Vantage — A production‑grade, multi‑tenant SaaS platform for independent merchants – with distributed order orchestration, optimistic concurrency control, and statistical demand forecasting.
web.mp4
Full walkthrough: login → dashboard → order search → low-stock fix → new product → AI demand forecast → developer portal.
Vantage is a full‑stack demonstration of senior‑level engineering, designed to solve real‑world distributed systems problems:
- Multi‑tenant isolation – Hibernate
@Filterguarantees zero data leakage between vendors. - Flash‑sale concurrency – JPA
@Versionoptimistic locking prevents overselling without database locks. - Distributed Saga + Outbox – At‑least‑once delivery with compensating transactions (Chaos Monkey).
- Resilience4j – Circuit breakers, retries, bulkheads, and rate limiters for graceful degradation.
- End‑to‑end tracing – OpenTelemetry and Grafana Tempo stitch together every request and event.
- Statistical demand forecasting – Holt-Winters exponential smoothing with confidence intervals.
graph TB
subgraph Client
React[React 19 SPA]
end
subgraph Backend
API[Spring Boot 3.4 API]
Worker[Spring Boot Async Workers]
end
subgraph Data
PG[(PostgreSQL 16)]
RMQ{{RabbitMQ}}
end
subgraph External
Pay[Mock Payment Gateway]
Geo[Nominatim]
Grafana[Grafana Cloud]
end
React -- HTTPS/JWT --> API
API -- JDBC/JPA --> PG
API -- AMQP --> RMQ
Worker -- AMQP --> RMQ
Worker -- JDBC/JPA --> PG
Worker -- HTTPS --> Pay
Worker -- HTTPS --> Geo
API -- OTLP --> Grafana
Worker -- OTLP --> Grafana
| Layer | Technologies |
|---|---|
| Backend | Java 21, Spring Boot 3.4, Spring Modulith, Hibernate, Flyway, JWT, Resilience4j |
| Frontend | React 19, TypeScript, Vite, TanStack Query, Tailwind CSS, Recharts, Leaflet |
| Infrastructure | PostgreSQL 16, RabbitMQ, Testcontainers, Docker Compose |
| Observability | Micrometer, OpenTelemetry, Grafana Tempo, Loki, Prometheus |
git clone https://github.com/elcoosp/vantage.git
cd vantage
# Start PostgreSQL and RabbitMQ
docker-compose up -d
# Run the backend
cd backend
./gradlew bootRun
# Run the frontend (in another terminal)
cd frontend
npm install
npm run devOpen http://localhost:5173 and start exploring.
Please read our Contribution Guidelines and Code of Conduct before submitting pull requests.
Proprietary – see LICENSE for details. EOF