Example code from Bootiful Spring Boot 3, but with Maven not Gradle.
Native compilation not set up yet.
For the "normal" execution, run docker compose up -d to start a Postgres DB, then run ./run.sh to start the service.
The test application TestServiceApplication does not need the Docker Compose stack to run, starting the PostgreSQL container is managed by Spring Boot.
Example links:
- http://localhost:8080/customers
- http://localhost:8080/customers/Josh
- http://localhost:8080/customers/josh (to demonstrate the error response using the RFC 7807/RFC 9457 Problem Details format)
Run ./run.sh.
Example links: