요구사항

이름, 유형, 학번, 점수, 마감기한, 과목, 점수

Main 페이지 접속 시 넘겨받아야 할 정보

  1. 사용자 이름
  2. 사용자 유형 (학생 / 교수)
    1. 학생일 경우 학번
  3. 사용자 학과
  4. 사용자가 듣고 있는(강의하는) 강의 목록
    1. 각 강의에 해당하는 교수님
  5. 전체 과제 목록
    1. 과제 과목

    2. 과제 제목

    3. 마감까지 기한

  6. 학생이 가장 최근에 수정한, 아직 완료되지 않은 과제 정보 (하단 팝업에 사용)
    1. 과제 페이지의 경로 (또는 링크)

구체화

"meta": {
	"createdAt" : "처음 생성된 날짜",
  "modifiedAt" : "가장 최근에 수정된 날짜",
}

사용자 정보(user_info) Collection

{
    "userId" : "abcd123",
    "userName" : "홍길동",
    "userNumber" : 2016920001,
		"meta": {
			"createdAt" : "처음 생성된 날짜",
		  "modifedAt" : "가장 최근에 수정된 날짜",
		}
}

과제(assignment) Collection

{
    "assignmentId" : 1525,
		"professorNumber" : "출제자의 userNumber",
		"students" : [
				2016920001,
				2016920002,
				2016920003
		],
    "assignmentName" : "[linear algebra]chapter 1",
		"assignmentInfo" : "주의사항",
		"publishingTime" : "과제 발행날짜",
    "deadline" : "2020-07-23",
    "questions" : [
        {
            "questionId" : 0,
            "questionContent" : "1+1 = ?",
            "fullScore" : 30,
        },
    ],
		"meta": {
			"createdAt" : "처음 생성된 날짜",
		  "modifiedAt" : "가장 최근에 수정된 날짜",
		},
}

답안(answer) Collection // 현재 사용 x

// 현재 사용되지 않음
{
		"userNumber" : "2016920001",
		"assignmentId" : 1525,
		"questionId" : 15250001,
    "answerContent" : "답은 2",
    "score" : 24,
		"meta": {
			"createdAt" : "처음 생성된 날짜",
		  "modifiedAt" : "가장 최근에 수정된 날짜",
		}
}
// 현재 사용되지 않음

답안지(answerPaper) Collection

{
		"userNumber" : "2016920001",
		"assignmentId" : 1525,
    "answers" : [{
										"questionId": 15250001
										"answerContent" : "답은 2",
									  "score" : 24,
								}],
		"meta": {
			"createdAt" : "처음 생성된 날짜",
		  "modifiedAt" : "가장 최근에 수정된 날짜",
		}
}

수강생(student) Collection