rise-summer/team6-education

API for getting student / teacher classes

Aberta

#4 aberto em 15 de jul. de 2020

 (1 comentário) (0 reação) (1 responsável)JavaScript (6 forks)auto 404
backendgood first issue

Métricas do repositório

Stars
 (1 estrela)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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

Guia do colaborador