Skip to content

馃嵄 Add Deno serve QR server example - #19

Merged
AnandChowdhary merged 1 commit into
masterfrom
chore/daily-maintenance-20260621
Jun 21, 2026
Merged

馃嵄 Add Deno serve QR server example#19
AnandChowdhary merged 1 commit into
masterfrom
chore/daily-maintenance-20260621

Conversation

@AnandChowdhary

Copy link
Copy Markdown
Member

Summary

  • Add examples/server.ts, a Deno.serve example that returns generated QR codes as GIF responses.
  • Document how to run the server and use long/short query parameters.
  • Add integration tests for GIF responses, HEAD requests, method rejection, and query-param fallback behavior.

Test plan

  • /tmp/deno-bin/deno lint examples/server.ts examples/server_test.ts
  • /tmp/deno-bin/deno test --allow-read --coverage=coverage
  • /tmp/deno-bin/deno coverage coverage
  • Local HTTP probe against deno run --allow-net examples/server.ts for GET, HEAD, and POST

Fixes #17

@AnandChowdhary
AnandChowdhary merged commit 6c52c29 into master Jun 21, 2026
8 checks passed
@AnandChowdhary
AnandChowdhary deleted the chore/daily-maintenance-20260621 branch June 21, 2026 08:19
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.

Deno.serve QRCode Server Example for All

1 participant