Java Backend
A reference implementation using Spring Boot 3, running on port 8080.
Quick Start
bash
cd server/java
./mvnw spring-boot:runServer runs at http://localhost:8080.
Framework
- Runtime: Java 17+
- Framework: Spring Boot 3
- Port:
8080(override withPORT)
Endpoints
Implements the shared API endpoints:
GET /api/captcha— generate captcha imagePOST /api/captcha/verify— verify captchaGET /api/health— health checkGET /api/info— server infoGET/POST/DELETE /api/security/*— IP blacklist management
Environment Variables
See the shared environment variables. Java defaults: PORT=8080, HOST=localhost.
TIP
This is a reference implementation, not a published package. Copy the code you need into your own Spring Boot project.