Course Store
Component Detail
Data Layer
medium complexity
backend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Data layer responsible for persisting course definitions and mentor registration records in the platform database. Provides query and mutation access used by the Course Registration Service while preserving the registration status history.
course-store
Sources & reasoning
Source explicitly lists Course Registration as a feature under certification-training (line 363) and HLF unique needs describe in-app course sign-up (line 72). Phase 3 roadmap (line 320) places course administration in Growth & Engagement.
-
docs/source/likeperson.md · line 363certification-training | Certification & Training | Course Registration, Digital Peer Mentor Certificate, Certificate Renewal Reminder
-
docs/source/likeperson.md · line 72Kursadministrasjon og sertifisering: Påmelding til kurs i appen, automatisk påminnelse ved utløp, digitale sertifikater.
-
docs/source/likeperson.md · line 320Kursadministrasjon / sertifisering
Responsibilities
- Persist course metadata including title, dates, capacity, prerequisites, and organization scope
- Store mentor registration records with status lifecycle and timestamps
- Provide queries for courses by organization and registrations by mentor
- Maintain referential integrity between courses, registrations, and mentor profiles
- Expose transactional updates for status transitions
Interfaces
findCoursesByOrganization(organizationId): Course[]
findRegistrationsByMentor(mentorId): Registration[]
insertRegistration(registration): Registration
updateRegistration(registrationId, changes): Registration
findCourseById(courseId): Course