Homework - ita-social-projects/WhatBackend GitHub Wiki
How homework history works?
- Mentor adds homework task to the lesson (using post endpoint for add homework task)
- Student gets homework and starts doing it
- If he wants to save his progress without submitting homework, he pushs save button (saving homework with flag isSent = false)
- When he sends his homework to mentor for review, the flag becomes isSent = true (using put endpoint for update homework)
- The mentor evaluetes student's homework, and if mark is not satisfactory, the student can re-send homework (using put endpoint for update homework)
- When a student resubmits homework, the new homework replaces the old one and the old homework is added to the homework history