issues
search
dragonsbootcampllc
/
DragonsBootcampLMS
6
stars
0
forks
source link
**Sprent 2** Enhancements for User Progress Tracking and Course Management with API Consistency
#67
Closed
AhmedNagehAbdelrazek
closed
2 months ago
AhmedNagehAbdelrazek
commented
2 months ago
Sprint 2 Overview
Focus Areas:
User Progress Tracking
Course, Lecture, and Task Management Enhancements
API Consistency and Documentation
Features Added:
1. User Progress Tracking:
Models:
UserCourseProgress:
Tracks overall progress in a course.
UserLectureProgress:
Tracks progress for each lecture, including attendance and completion status.
UserTaskProgress:
Tracks progress for tasks, including scores, completion status, and completion dates.
API Endpoints:
Storing and Retrieving Progress:
Endpoints to store and fetch progress data for courses, lectures, and tasks.
Conditional Course Details:
Updated the
getCourseDetails
function to optionally include user progress based on enrollment status.
Progress Calculations:
Added logic to calculate and return progress percentages for lectures and tasks as part of the course details.
2. Course, Lecture, and Task Management Enhancements:
Course Details API:
Enhanced to return detailed course data, including associated lectures and tasks, with or without user progress data.
Lecture and Task Details:
Integrated detailed lecture and task data, including user-specific progress metrics when applicable.
Consistency in Controllers:
Ensured that all controllers for courses, lectures, and tasks provide consistent data and handle progress tracking appropriately.
3. API Consistency and Documentation:
Swagger Integration:
Integrated Swagger for API documentation, ensuring all endpoints are well-documented with clear descriptions, parameters, and responses.
Sprint 2 Overview
Focus Areas:
Features Added:
1. User Progress Tracking:
Models:
API Endpoints:
getCourseDetails
function to optionally include user progress based on enrollment status.Progress Calculations:
2. Course, Lecture, and Task Management Enhancements:
Course Details API:
Lecture and Task Details:
Consistency in Controllers:
3. API Consistency and Documentation:
Swagger Integration: