-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProject Requirements
49 lines (39 loc) · 1.57 KB
/
Project Requirements
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
------------Simple Events System---------------------
Requirements:
a- RESTFull backend API
b- token validation is required
The system will manage events on ITI , speaker who speaks in any events, students who attend
the event, and admin who create and manage events
You should manage all routes end point, with token authentication.
Pages and functionalities:
1-System have only one administrator (static username and password).
2- speakers and students should register first on the website.
3-Administrator functionality:
a- Remove and Edit Speakers or Students without editing userName or password
b- Add, Edit and remove event.
c- Add speakers and students to any event
4-Speaker functionality:
Edit profile (all data in schema)
View his registered events
BONUS: speaker can decline the event.
5-Student functionality:
Edit profile (all data in schema)
View his registered events
Mongoose Schema:
Speaker:
1- _id (ObjectID)
2- Email which is unique
3- UserName
4- Password [encrypted BONUS]
5- Address (city ,street and building)
Student:
1- _id (Number)
2- Email which is unique
3- password
Events:
1- _id (Number)
2- title (required)
3- event date
4- mainSpeaker id (only one speaker will talk at the beginning of event)
5- otherSpeakers [ids] (those speaker will continue after main spekar)
6- students [ids] array containing all students added for this event