Skip to content

feat(academy): add course enrollment and gate task submissions - #887

Merged
MaryammAli merged 2 commits into
BlockDash-Studios:mainfrom
V1ctor-o:feat/be-040-course-enrollment
Sep 26, 2026
Merged

MaryammAli merged 2 commits into
BlockDash-Studios:mainfrom
V1ctor-o:feat/be-040-course-enrollment

Conversation

@V1ctor-o

Copy link
Copy Markdown
Contributor

Summary

  • Add course enrollment and withdrawal endpoints with capacity checks.
  • Require completion of prerequisite courses before enrollment.
  • Enforce enrollment states: active, withdrawn, and completed.
  • Reject course task submissions unless the learner has an active enrollment.
  • Add unit and endpoint tests for these rules.

Testing

  • Course service tests: passed.
  • Course endpoint test: passed.
  • Full backend tests and type check remain blocked by existing errors in the chat and health modules.

Course and enrollment data currently use in-memory storage, consistent with the existing BackendAcademy service pattern; they do not survive a restart.

Closes #793

@drips-wave

drips-wave Bot commented Sep 26, 2026

Copy link
Copy Markdown

@V1ctor-o Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@MaryammAli MaryammAli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MaryammAli
MaryammAli merged commit 8ef1f05 into BlockDash-Studios:main Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BE-040 — Course enrollment service

2 participants