A FastAPI endpoint that creates QR codes based off given URLs
- Development environment
uvicorn qr-generator:app --reload
- Ensure public port forwarding in codespace.
$ docker build -t qr-bot-generator .
$ docker run -p 8000:8000 qr-bot-generator
- 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