rise-summer/team6-education

API for getting student / teacher classes

Open

#4 opened on Jul 15, 2020

 (1 comment) (0 reactions) (1 assignee)JavaScript (6 forks)auto 404
backendgood first issue

Repository metrics

Stars
 (1 star)
PR merge metrics
 (PR metrics pending)

Description

Tasks

  • Create a route (ex "/api/<student_id>") that will return the classes for the corresponding student id in JSON
  • If the user is not authenticated as the user that we are looking up return a 401 (unauthorized) status code instead
  • If the id does not exist, send a 404 (not found) response

Contributor guide