A simple webservice to create qr-codes.
The service starts at default on port 8080
.
Maximum with/height
is 800
pixels.
docker run -p 8080:8080 -d ghcr.io/ckroeger/qrservice:0.4.0-prerelease0
Example Urls:
- Generates a qr-code with "Hello" (default is 350x350)
- Generates a qr-code with "Hello" (450x450)
- Generates a qr-code with "Hello" uses a filename when save in browser (default is 350x350)
- Generates a qr-code with "Hello" and trigger a filedownload in browser - content-disposition (default is 350x350)
- Genreric Url, fileName is optional
- http://localhost:8080/qr/{fileName}?text=Hello&width=450&height=450
- Swagger API-Doc
Still not using github-issues to manage features and bugs 👼.
List:
- ❌ add release-info in readme.md
- ✅
add favicon - ✅
Add Image creation and github package release - ✅
Pom-Version in Swagger-Doc -> AppConfig - ✅
Add Spring Rest Doc - ✅
Set Version to maven
- REST
- SemVer for GH-Action:
- Maven
- CI - Topic - Versioning
- Plugins
- Spring
- Favicon
- Emoji
- Markdown
This Service is implemented with spring boot v3.1.x and needs at least Java 17 and Maven 3.
First package with maven-build:
mvn clean package
Build image:
docker build -t qrservice .
Run container:
docker run -p 8080:8080 qrservice
git commit --allow-empty -m "(MINOR) Empty commit, bumps MINOR version"
git commit --allow-empty -m "(MAJOR) Empty commit, bumps MAJOR version"