issues
search
Vedelopment
/
learning-hub
An online tool to connect students and teachers.
1
stars
2
forks
source link
Back End Validations
#48
Closed
Vedelopment
closed
7 years ago
Vedelopment
commented
7 years ago
Assignments:
[x] title: must exist
[x] instructions: optional
[ ] assign_date: must exist, must be formatted as date
[ ] due_date: must exist, must be formatted as date
[x] duration: optional, must be integer
[x] visible: default to true
Courses:
[x] name: must exist
[ ] number: optional, must be integer
Students:
[x] username: must exist, is unique, has at least 3 length
[x] first name: must exist
[x] last name: must exist
[x] email: must exist, is email address
[x] password: must exist, is secure
Submissions:
[x] content: optional
[x] link: must exist
Teachers:
[x] username: must exist, is unique, has at least 3 length
[x] first name: must exist
[x] last name: must exist
[x] email: must exist, is email address
[x] password: must exist, is secure
Assignments:
Courses:
Students:
Submissions:
Teachers: