alexchomiak / encodr

Simple QR Code Encoding Microservice, packaged in Docker container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Encodr

Simple QR Code encoding service

API Methods

API Methods Description
GET /health Simple API health check with timestamp/status.
GET /qrcode/:url?size= Generate QR Code (png file) for specified URL. Optional query parameter of size for the QR code. (default is 256px)

Dockerfile

Build service from project root

docker build . -t encodr

Run service

docker run -p 8080:80 encodr

Build for Multi-Platform using Docker buildx (used for Raspberry PI)

docker buildx build \
--push \
--platform linux/arm/v7,linux/arm64/v8,linux/amd64  --tag alexchomiak/encodr:buildx-latest .

About

Simple QR Code Encoding Microservice, packaged in Docker container


Languages

Language:Go 92.8%Language:Dockerfile 5.4%Language:Makefile 1.8%