[ ] Create endpoints for index, teams, evaluations, feedback
Index Endpoint
[ ] index endpoint should return @upcoming_evaluations, which is a list of all upcoming evaluations associated to all projects associated to the current student
[ ] index endpoint should return @avg_ratings, which is a map containing all ratings and their average value for the current student. (ex: {conceptual: 4.9, ... })
Teams Endpoint
[ ] teams endpoint should return @student_teams which should be a json of all projects associated to the current student, and all the teams associated to each project, as well as the team to which the student belongs to (if it exists). (ex.
[ ] Evaluations endpoint should return @student_evaluations which should contain all projects associated to the current student, as well as a list of all completed evaluations, and a list of all pending evaluations associated to the current project (where all evaluations' evaluator_id is equal to the current student's id). For example:
[ ] feedback endpoint should return @avg_ratings, which is a map containing all ratings and their average value for the current student. (ex: {conceptual: 4.9, ... }). It should also return @received_evaluations, which should contain all completed evaluations where the evaluatee_id is equal to the current student's id, and where status is completed
Acceptance Criteria
index
,teams
,evaluations
,feedback
Index Endpoint
@upcoming_evaluations
, which is a list of all upcoming evaluations associated to all projects associated to the current student@avg_ratings
, which is a map containing all ratings and their average value for the current student. (ex: {conceptual: 4.9, ... })Teams Endpoint
@student_teams
which should be a json of all projects associated to the current student, and all the teams associated to each project, as well as the team to which the student belongs to (if it exists). (ex.Evaluations Endpoint
@student_evaluations
which should contain all projects associated to the current student, as well as a list of all completed evaluations, and a list of all pending evaluations associated to the current project (where all evaluations'evaluator_id
is equal to the current student's id). For example:Feedback Endpoint
@avg_ratings
, which is a map containing all ratings and their average value for the current student. (ex: {conceptual: 4.9, ... }). It should also return@received_evaluations
, which should contain all completed evaluations where theevaluatee_id
is equal to the current student's id, and wherestatus
iscompleted