API Arena
Automated grading for student-built REST APIs. Every submission is built, run in an isolated sandbox and scored with real HTTP tests and AI review.
- nginx gateway Rate-limited entry point
- submission-service Orchestrates the pipeline, publishes events
- sandbox-service Builds and runs it in Docker-in-Docker, with a fallback runner
- testing-service Real HTTP functional and performance tests
- ai-review-service AI-assisted code review
- leaderboard + notifications Kafka events update rankings and push WebSocket alerts
Final project of my web development diploma. Awarded Matrícula de Honor, the highest distinction.
- role
- Sole architect and developer
- period
- 01/2026 - now
- stack
- Java 21, Spring Boot 3.5, Kafka, PostgreSQL 16, Redis 7, React 19
- ops
- Docker, GitHub Actions, Prometheus, Grafana, Alertmanager
- safe redelivery Idempotent consumers built on natural keys and unique constraints.
- nothing gets lost Retries at 1, 2, 4 and 8 seconds, then a dead-letter topic per consumer group.
- security Spring Security and JWT behind a rate-limited nginx gateway. TOTP 2FA and audit trail for admins. GDPR export and deletion.
- shipping GitHub Actions runs end-to-end smoke tests and deploys to production. Prometheus, Grafana and Alertmanager watch it.
Architecture, pipeline and the bugs behind it
Read the case study