Back to Index
Java / Backend
2026·Completed

ReLoop

Enterprise Circular-Commerce Platform & Escrow Architecture

Java 17Quarkus 3.15 LTSNext.js 14PostgreSQL 16Redis 7FlywayFirebase AuthDouble-Entry LedgerTailwindCSS
ReLoop
Quarkus 3.15 modular monolith + Double-entry escrow ledger + Anti-hoarding checkout leases + Firebase Google Sign-In
Engineering Scope

Problem & System Purpose

Enterprise-grade circular commerce platform engineered for authenticated serialized electronics, 50-point technical grading certification, anti-hoarding checkout leases, and balanced double-entry escrow accounting. Built as a Quarkus 3.15 LTS modular monolith across 25 bounded contexts with ArchUnit boundary verification, transactional outbox async dispatcher, Firebase Google Sign-In authentication, and full Next.js 14 client with TanStack Query.

Specification25 Bounded Contexts
Specification100% Balanced Double-Entry DR=CR
Specification15-Min Anti-Hoarding Leases
SpecificationFirebase Google OAuth

Architecture Blueprint

Modular monolith architecture built on Quarkus 3.15 LTS and Java 17, featuring strict ArchUnit bounded contexts, balanced double-entry journal lines (zero discrepancy), pessimistic row-locked 15-minute checkout leases, Firebase Google Sign-In with server-side ID token verification, and transactional outbox worker.

Execution Data Pipeline
01.Next.js 14 Client & TanStack Query State
02.Quarkus 3.15 Modular Monolith & JWT/RBAC Filter
03.Firebase Google Sign-In & Server-Side Token Verification
04.Anti-Hoarding Checkout Lease Engine (Pessimistic Lock & Partial Unique Index)
05.Double-Entry Financial Escrow Ledger & Outbox Worker
Subsystem Decomposition
Quarkus 3.15 Modular Monolith

25 bounded-context domain modules with RESTEasy Reactive, Panache ORM, and ArchUnit architecture verification tests.

Double-Entry Escrow Ledger

Balanced debit/credit journal transactions for escrow holds, seller payouts, platform commissions, and arbitrated disputes.

Firebase Google Sign-In

OAuth 2.0 Google authentication via Firebase SDK with server-side ID token verification through Google Identity Toolkit API.

Anti-Hoarding Checkout Leases

Two-stage reservation acquiring pessimistic row locks (`SELECT ... FOR UPDATE`) with 15-minute leases enforced by PostgreSQL partial unique indices.

Next Production Case

ApexGrid

F1 Race Ticket Reservation & Microservices Platform

Explore Next Case