Closed borakrc closed 7 years ago
each homework belongs to a class. we keep list of students that completed a homework. db structure:
/classes/[classId]/homeworks/[randomId] = { subject: string, content: string, creationDate: string, dueDate: string, attachments: Array<File URL> // seems like photo and video only completedStudents = { studentUserId1: true, studentUserId2: true, ... } }
each homework belongs to a class. we keep list of students that completed a homework. db structure: