Description: Implement API to release course lessons on a schedule after enrollment rather than all at once.
Requirements:
- Handle drip schedule configuration requests
- Track unlock timestamps per lesson per enrollment
- Validate lesson access against unlock schedule
- Manage instructor override of drip pacing
- Provide next-unlock date to students
Acceptance Criteria:
- Configuration requests are handled
- Unlock timestamps are tracked per enrollment
- Access is validated against the schedule
- Instructor override works
- Next-unlock date is provided to students
Technical Details:
Files: backend/src/modules/lessons/drip-schedule.service.ts, backend/src/modules/enrollments/enrollments.service.ts
Libraries: @nestjs/schedule, @nestjs/common, prisma
Description: Implement API to release course lessons on a schedule after enrollment rather than all at once.
Requirements:
Acceptance Criteria:
Technical Details:
Files: backend/src/modules/lessons/drip-schedule.service.ts, backend/src/modules/enrollments/enrollments.service.ts
Libraries: @nestjs/schedule, @nestjs/common, prisma