rise-summer/team6-education

API for getting student / teacher classes

Aperta

#4 aperta il 15 lug 2020

 (1 commento) (0 reazioni) (1 assegnatario)JavaScript (6 fork)auto 404
backendgood first issue

Metriche repository

Star
 (1 stella)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor