MiniBank
Microservice money transfer platform
- An API Gateway plus account, transfer and fraud services, each with its own database (database-per-service). Services run in containers with multi-stage Dockerfiles and Docker Compose.
- Transfers run as a Kafka-orchestrated Saga: funds are held, checked for fraud and captured. On fraud rejection or timeout a compensation step releases the hold; the outbox/inbox pattern keeps the flow idempotent. Consistency was verified with chaos tests that kill services and Kafka with docker kill mid-saga, followed by reconciliation queries.
- Authorization via Keycloak with OAuth2/OIDC (RS256, audience checks). Double-entry ledger, hold model, ordered pessimistic locking to prevent deadlocks and distributed rate limiting with Redis + Bucket4j.
- Java 25
- Spring Boot
- Kafka
- Keycloak
- Redis
- PostgreSQL
- Docker






