Event Sign-up Service
Component Detail
Service Layer
medium complexity
backend
1
Dependencies
1
Dependents
2
Entities
0
Integrations
Description
Backend service handling participant registration and deregistration for events. Enforces same-organization validation to prevent cross-tenant registration and accepts an optional contact_id for coordinator proxy sign-ups.
event-sign-up-service
Responsibilities
- Validate requesting user belongs to the same organization as the event before writing a participant record
- Accept optional contact_id parameter and verify contact belongs to the same organization
- Enforce duplicate prevention on conflict - idempotent upsert for offline-synced mutations
- Expose real-time participant count for display in the widget and in Bufdir reporting
Interfaces
POST /api/v1/events/:eventId/participants
DELETE /api/v1/events/:eventId/participants/:participantId
GET /api/v1/events/:eventId/participants/count
GET /api/v1/events/:eventId/participants
Relationships
Related Data Entities (2)
Data entities managed by this component