ugurdonmez / kinder-mobile

1 stars 0 forks source link

homework provider #57

Closed borakrc closed 7 years ago

borakrc commented 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,
    ...
  }
}