Event Registration Service
Component Detail
Service Layer
medium complexity
backend
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Backend service that processes event sign-up requests from peer mentors and contacts. Validates eligibility against role-based access rules, enforces configured capacity limits, and persists participant records consumed by attendance, statistics, and Bufdir reporting features.
event-registration-service
Sources & reasoning
Event Sign-up is the third canonical feature of the event-management area in section 8 and is implied by the core operational flow (peer mentor performs activity or event). Marked MVP because the operational flow described as Phase 1 requires events to be participable, not just creatable and listable.
-
docs/source/likeperson.md · line 351event-management | Event Management | Event Creation, Event Listing, Event Sign-up
-
docs/source/likeperson.md · line 228Optimistic mutations with automatic rollback on failure (contact edits and paginated list updates)
-
docs/source/likeperson.md · line 195-199Peer mentor performs activity or event ... Activity is registered and tracked in Meander Mobile App ... Coordinator oversees follow-up, quality, and approval
Responsibilities
- Validate user eligibility for the event based on role and access rules
- Enforce event capacity limits with concurrency-safe checks
- Create and persist participant records linking user to event
- Emit registration events for downstream attendance and reporting consumers
- Return structured registration outcomes (success, full, ineligible, duplicate)
Interfaces
registerForEvent(eventId, userId): RegistrationResult
cancelRegistration(eventId, userId): CancellationResult
getRegistrationStatus(eventId, userId): RegistrationState
getEventCapacity(eventId): CapacityInfo