Data Layer low complexity mobilebackend
0
Dependencies
1
Dependents
0
Entities
0
Integrations

Description

Repository and local cache adapter for course records. Reads course data from the shared PostgreSQL backend via REST and caches for offline display. Source of truth for course metadata including availability and prerequisites.

Feature: Course Registration

courses-table

Responsibilities

  • Cache course listings locally using Drift for offline access
  • Sync course records from backend REST endpoint
  • Expose query interface for filtered course lookups

Interfaces

getCourses(filters: CourseFilters): List<Course>
getCourse(courseId: String): Course?
upsertCourses(courses: List<Course>): void
clearStaleRecords(): void

Relationships

Dependents (1)

Components that depend on this component