Skip to content

. Add GET /api/v1/courses/:id/prerequisites endpoint #369

Description

@DeFiVC

What: Add an endpoint that returns the prerequisites for a course (required prior courses or knowledge).

Why: Users need to know what they should learn before taking a course. Prerequisites help users follow a logical learning progression.

Scope: Add prerequisites JSONB column to courses table (array of course IDs). Add endpoint that returns prerequisite courses with their completion status for the current user.

Acceptance criteria:

  • Returns list of prerequisite courses
  • Includes completion status per prerequisite
  • Warns if prerequisites are not met
  • Prerequisites are configurable by admins

Technical context: src/database/schema.ts:40-59 — courses table. src/modules/courses/course.service.ts — course operations.


Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions