Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.23 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.23 KB

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