-
Notifications
You must be signed in to change notification settings - Fork 16
Database Overview
Layout
The database it laid out into 4 main collections. meetings, users, waitingMentors, and waitingStudents.
meetings
meetingID password studentUsername studentFirstName studentLastName mentorUsername mentorFirstName mentorLastName CurrentlyOngoing (if the meeting is currently in progress) meetingStartTime (in unix time) users
username password (hashed & salted) firstName lastName email role (student, mentor, and parent) accountCreatedAt (in unix time) waitingMentors
Same information as users however this is all of the mentors who are currently waiting for a game
waitingStudents
Likewise this is the same information however these are all of the students who are currently waiting for a game. If they stop waiting or a game has been found they are removed. In the case of a game being found a new document is created in meetings collection.