/todo-api-workshop

todo-api waiting for OpenShift

Primary LanguageJava

Todo-API based on Quarkus

This project uses Quarkus to provide a simple todo-app API. It implements an OpenAPI spec and can be tested with a frontend based on Vue.js.

Deployment

Even though a shiny OpenShift Cluster waits for deployments, at the moment the deployment is based on Docker Compose.

docker compose -f src/main/docker/docker-compose.yaml up

Dev environment

Starting frontend and backend in different terminals:

docker run --rm -p 8000:8080 --name todo-web -e VUE_APP_API_BASE_URL=http://localhost:8080/api/v1/todo/ quay.io/johschmidtcc/todo-web
./mvnw compile quarkus:dev

(The app uses an in-memory H2 database.)