Skip to content

A FastAPI endpoint that creates QR codes based off given URLs

Notifications You must be signed in to change notification settings

GlueOps/qr-code-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QR-code-generator

A FastAPI endpoint that creates QR codes based off given URLs

Running the QR code generator

  • Development environment
uvicorn qr-generator:app --reload
  • Ensure public port forwarding in codespace.

Running the Dockerfile

$ docker build -t qr-bot-generator .
$ docker run -p 8000:8000 qr-bot-generator

Access the website

  • In your browser, navigate to https://127.0.0.1:8000.preview.app.github.dev/v1/qr?url=<your-url> - localhost, https://qr-code-generator.<development-captain-domain>/v1/qr?url=<your-url> - Kubernetes deployment

A QR code will be generated image

Deploying on ArgoCD

  • Reference this repo for parameters to include in your ArgoCD manifest.

  • Video guide 1 & 2