Repository navigation
Event Registration with Ticket Generation and QR Check-in - #19178
Open
rajatsingh535 wants to merge 3 commits into
Open
rajatsingh535 wants to merge 3 commits into
rajatsingh535 wants to merge 3 commits into
Conversation
…andeepVashishtha#19148) Implements a complete event registration and check-in system: Features: - Event registration form with custom fields per event - Automatic ticket generation with unique UUID - QR code generation for tickets - PDF ticket generation with event details - Email delivery of tickets via Nodemailer (optional SMTP) - Duplicate registration prevention - Organizer check-in dashboard with live QR scanner - Manual attendee search and check-in - Real-time check-in status tracking - File-based ticket storage (data/tickets.json) Components Added: - EventRegistrationForm: Collects attendee info and custom fields - EventTicketCard: Displays ticket with QR code and download - TicketQrScanner: Camera-based QR code scanning - Check-in dashboard page: Organizer interface for attendance API Routes: - POST /api/events/[id]/register - Register and get ticket - POST /api/events/[id]/check-in - Check in attendee - GET /api/events/[id]/tickets - List event tickets - GET /api/tickets/[ticketId] - Retrieve single ticket - GET /api/tickets/[ticketId]/pdf - Download ticket PDF - GET/PUT /api/events/[id]/registration-fields - Manage custom fields Libraries: - qrcode: QR code generation - pdf-lib: Professional PDF tickets - html5-qrcode: Live camera QR scanning - nodemailer: Email delivery Tests: - Ticket creation and duplicate prevention - Check-in validation and status updates - QR code and PDF generation - All tests passing with npm test Configuration: - Optional SMTP via environment variables - Works without email (PDF download always available) - .env.example updated with SMTP template Documentation: - README.md updated with ticket system overview - TICKET_FEATURE.md with complete implementation details - API endpoint documentation - Testing and deployment guides Closes SandeepVashishtha#19148
Contributor
|
@rajatsingh535 is attempting to deploy a commit to the sandeepvashishtha's projects Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
No quality gates enabled for this code.
See analysis details in CodeScene
Quality Gate Profile: Custom Configuration
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR implements a complete event registration and check-in system for Eventra, transforming it from a discovery platform into a full-featured event management solution.
Features Implemented:
pdf-lib)html5-qrcode)data/tickets.jsonTechnical Implementation:
Dependencies Added:
qrcode- QR code generationpdf-lib- PDF creationhtml5-qrcode- Live QR scannernodemailer- Email deliveryCloses #19148
Type of change
Screenshots
Registration Form
![Registration form on event detail page with pre-filled user data]
Generated Ticket with QR Code
![Professional ticket card displaying QR code, event details, and download button]
Check-in Dashboard
![Two-column layout with live QR scanner on left and manual attendee search on right]
PDF Ticket
![Professional PDF ticket with Eventra branding, QR code, and event information]
Checklist
npm run lintpasses with no errorsnpm run buildsucceedsAdditional Testing:
npm test)Files Changed: 31 files, 2,211 lines added, 62 lines deleted
How to Test:
npm install && npm test(all tests should pass)npm run dev/events/1/check-into test organizer dashboardSee
TESTING_GUIDE.mdfor comprehensive testing scenarios.