Skip to content

cescoffier/quarkus-universal-todo

Repository files navigation

Universal Quarkus Todo Application Quarkus

This project aims to explain a smooth migration path from a Spring Boot application to Quarkus. It:

Infrastructure service

Regardless of the runtime, the application uses PostgreSQL and Keycloak. A infrastructure/docker-compose file starts these required services. Run:

docker-compose -f ./infrastructure/docker-compose.yaml up

Once started (can take a few minutes), open http://localhost:8180/auth/admin/ and login with admin/admin.

Applications

This repo provides 2 versions of the application:

  • a Spring version
  • a Quarkus version

Spring Application

Build it with:

mvn -B clean verify -f spring/pom.xml

Run it with:

java -jar spring/target/universal-todo-spring-1.0.0-SNAPSHOT.jar 

Quarkus Application

To build the Quarkus application in JVM mode, run:

mvn -B clean verify -f quarkus/pom.xml    

Run it with:

java -jar quarkus/target/quarkus-app/quarkus-run.jar``` 

To build the native executable, run:

```bash
mvn -B clean verify -f quarkus/pom.xml -Pnative

Run the native-executable with:

quarkus/target/universal-todo-quarkus-1.0.0-SNAPSHOT-runner

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •