Create DB Models
Server-side
The application has to have a set of different models to create the schema for each object to be used in the application. So, you need to create a set of schemas for the following objects (classes):
-
Experiments - This can contain:
-
ID (can be auto-generated) -
Title -
Description -
Author (needs a reference from the author collection) -
Time -
List (or Array) of trials -
Randomization option (check jsPsych randomization option) - etc...
-
- This can contain:
-
Author - This can contain:
-
ID (can be auto-generated) -
Name -
Last-name -
Email -
University -
College/Department
-
- This can contain:
-
Trial - This can contain:
-
ID (can be auto-generated) -
Onset-time -
Event-name -
ITI (Inter-trial Interval) -
End-trial Interval -
Max-trial duration -
List (or Array) of stimulus
-
- This can contain:
-
Stimulus -> This has to be mapped with the capabilities of jsPsych - This can contain:
-
ID (can be auto-generated) -
Type -> Audio, Video, Text, Image -
Duration -
ISI (Inter-stimulus Interval) -
Start -
End -
Response-type -
Response (expected)
-
- This can contain:
Edited by Hugo Angulo