The Adept API is the Java backend and sole owner of the shared PostgreSQL database schema.
- Framework & Runtime: Spring Boot 4.1 on Java 25, Flyway V1–V18, Hibernate, PostgreSQL 18.
- Authentication: JWT access tokens, HttpOnly refresh cookies, CSRF protection.
- Start PostgreSQL and Mailpit:
docker compose --env-file ../.env -f infra/local/compose.yaml up -d postgres mailpit
- Run the API locally:
Health endpoint: http://localhost:8080/actuator/health
set -a && source ../.env && set +a ./mvnw spring-boot:run -Dspring-boot.run.profiles=local
Run integration tests using Testcontainers:
./mvnw clean verifySwagger UI is available at http://localhost:8080/swagger-ui/index.html when running locally. To export OpenAPI spec:
./scripts/export-openapi.sh