Add /test page with sample QR codes for scanner testing
GET /test (gated by ENABLE_TEST_PAGE) renders scannable QR codes for a set of personas covering different attributes — solo, family with ice+parking, a real donor for Banquet mode, ice-only, a pre-exhausted ticket, and an invalid code. Idempotently seeds them into the current NocoDB table. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
8d6dd56a1a
commit
b71dce0878
6 changed files with 184 additions and 0 deletions
|
|
@ -20,6 +20,10 @@ NOCODB_DONOR_OFFLINE_TABLE_ID=
|
|||
# Ice bags granted when a purchase includes ice but the webhook sends only a boolean
|
||||
ICE_BAGS_DEFAULT=3
|
||||
|
||||
# Serve /test with sample QR codes (seeds test personas into the CURRENT table).
|
||||
# Keep this false/empty in production — only enable when pointed at a TEST table.
|
||||
ENABLE_TEST_PAGE=false
|
||||
|
||||
# MailerSend
|
||||
MAILERSEND_API_TOKEN=
|
||||
MAIL_FROM_EMAIL=tickets@beartariacampgrounds.com
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue