Simple API that will encode and decode QR 2D barcodes. Based on https://github.com/dwimberger/spark-qr
- Build image
docker build -t dwimberger/qr-api .
- Run the image with debug using
docker run -d -p 4567:4567 dwimberger/qr-api
curl localhost:4567/qr/`uuidgen` > test.png
curl -F "[email protected]" http://localhost:4567/qr
Use the environment variable QR_PREFIX to generate QR codes with an arbitrary prefix (for example an URL).