Skip to content

turing85/quarkus-qr

Repository files navigation

Quarkus QR Code generator

A small application that generates a QR-Code from text.

JVM-Mode

Application

Building the application
./mvnw clean package

Container image

Build a container image
./mvnw \
  --define build-container-image \
  clean package

The resulting image will be named de.turing85/qr-code-generator:latest

Starting a container and testing the application

Starting the image
docker run \
  --detach \
  --rm \
  --publish 8080:8080 \
  --name qr-code-generator \
  de.turing85/qr-code-generator:latest

To test the application, access http://localhost:8080/qr-code/foo%20bar%20baz

Stopping the container

Stopping the container
docker stop qr-code-generator

Native mode

Application

Building the application
./mvnw \
  --define native \
  clean package

Container image

Build a container image
./mvnw \
  --define native \
  --define build-container-image \
  clean package

The resulting image will be named de.turing85/qr-code-generator:latest and de.turing85/qr-code-generator:native

Starting a container and testing the application

Starting a container
docker run \
  --detach \
  --rm \
  --publish 8080:8080 \
  --name qr-code-generator \
  de.turing85/qr-code-generator:latest

To test the application, access http://localhost:8080/qr-code/foo%20bar%20baz

Stopping the container

Stopping the container
docker stop qr-code-generator

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Marco Bungart
Marco Bungart

💻 🚧 📖

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published