rust-nyc-event-signin
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data β all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v57View latest version
Allow event creators to enable on-site registration where attendees can register themselves at the event venue.
- Add checkbox "Enable on-site registration" to EventCreation form
- Store
allow_onsite_registrationboolean field in Event table (consider migrations correctly) - Default to
falsefor new events
- Update
CreateEventRequesttype to includeallowOnsiteRegistration?: boolean - Modify POST
/api/eventsendpoint to accept and store new field - Update Event interface to include
allow_onsite_registration: boolean
- Add GET
/api/:eventId/signupendpoint returning event name and registration status - Add POST
/api/:eventId/signupendpoint accepting{ name: string } - Only show registration form if
allow_onsite_registrationis true - Create new attendee record with
external_idset to "onsite-{timestamp}"
- Create OnSiteRegistration component with name input and submit button
- Display registration form on event page when enabled
- Show success message after registration
- Add validation for duplicate names (case-insensitive)
- Add
allow_onsite_registrationcolumn to events table (default false) (consider migrations carefully) - No changes to attendees or checkins tables required
- Use existing attendee flow for check-in after registration
- Leverage existing fuzzy search for finding registered attendees
- Maintain password protection for event management features