Skip to content

feat: printable QR code endpoint for demo bags#31

Open
EricGrill wants to merge 2 commits into
mainfrom
justobot/heartbeat-heartbeat-mnkthp3p
Open

feat: printable QR code endpoint for demo bags#31
EricGrill wants to merge 2 commits into
mainfrom
justobot/heartbeat-heartbeat-mnkthp3p

Conversation

@EricGrill
Copy link
Copy Markdown
Contributor

Summary

  • Adds GET /lot/:id/qr — returns a self-contained SVG with the provenance QR code, farm name, lot ID, and label
  • SVG is print-ready: stick it on a coffee bag, scan it, see the full provenance chain
  • 2 new tests (41 total, all passing)

Phase 2 #6. Closes #30.

Test plan

  • GET /lot/:id/qr returns SVG with correct content-type
  • SVG contains QR code, farm name, lot ID label
  • Returns 404 for unknown lot
  • All 41 tests pass

🤖 Generated with Claude Code

EricGrill and others added 2 commits April 4, 2026 17:03
Returns a self-contained SVG with the provenance QR code, farm name,
lot ID, and "Scan for full provenance" label. Print it, stick it on
a bag, scan it at the demo. Phase 2 #6.

Closes #30

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Printable QR code endpoint for demo bags

1 participant