This project uses Spring Boot and Java to provide a simple todo-app API and is used for workshops. It implements an OpenAPI spec and can be tested with a frontend based on Vue.js.
docker compose -f infrastructure/docker-compose.yaml up
mvn spring-boot:run
./mvnw clean package -DskipTests -Pnative
java -Dspring.aot.enabled=true -jar target/todo-api-spring-java-0.0.1-SNAPSHOT.jar
./mvnw -Pnative -DskipTests clean native:compile
./target/todo-api-spring-java
./mvnw -Pnative -DskipTests clean native:compile
docker build -f src/main/docker/Dockerfile.native -t todo-api-spring-java:native .
./mvnw -Pnative -DskipTests clean spring-boot:build-image
Use HTTP-client to test the API.