Closed ahmedehab0 closed 2 months ago
GET /courses/:courseId/tasks/progress Purpose: Calculate average task progress for a course.
UserTaskProgress
id (integer, Primary Key) user_id (Foreign Key, References User) task_id (Foreign Key, References Task) is_finished (Boolean, default: false) completed_at (Timestamp, nullable)
new Routes:
GET /courses/:courseId/tasks/progress Purpose: Calculate average task progress for a course.
new models:
UserTaskProgress
id (integer, Primary Key) user_id (Foreign Key, References User) task_id (Foreign Key, References Task) is_finished (Boolean, default: false) completed_at (Timestamp, nullable)