(1 comment) (0 reactions) (1 assignee) (3 forks)auto 404
Featurebackendgood first issue

Repository metrics

Stars
 (2 stars)
PR merge metrics
 (PR metrics pending)

Description

Also involves writing a test, and setting up the author table in the db, and make a simple page that shows the json output of the api call. (Making the page will be its own issue)

What Do

  • Single Author: write a unit test(s) that goes to the URL and ensures the returned JSON is as expected.
  • Multiple Authors: Set up unit test(s).
  • Set up required fields of Authors model: https://github.com/Sean-Meyers/CMPUT404-project-socialdistribution/issues/12
  • Write Serializer and/or view for single author. (thing that makes and returns the json, however you want to accomplish that.)
  • Write Serializer and/or view for multiple authors.

Unit Tests to Pass

  • GET single author works
  • POST single author works
  • GET all authors paginated works.

Info

https://github.com/Sean-Meyers/CMPUT404-project-socialdistribution/wiki/Objects#single-author Image


https://github.com/Sean-Meyers/CMPUT404-project-socialdistribution/wiki/Objects#authors Image

Contributor guide