CPNT 262 Assignment 5 - Deployed REST API

In the assignment you will:


Criteria

4 points will be given for each of the following criteria, for a total of 20 points:

1. Server setup

2. List and item endpoints

Using your gallery from Assignment 2 (modifications are welcome), create a JSON API endpoint that returns a list of gallery items (animals used an example; modify your endpoint to match your content):

GET /api/animals
GET /api/animals/:id

3. Mongoose Model

4. Public documentation and custom 404 page

5. Documentation and Code Quality


Submitting Your Assignment

In order to receive a grade, you must:

  1. Deploy your Express app to Heroku.
  2. Zip your project (excluding node_modules and .env file) and submit them to Brightspace.
  3. Include links to the following as a comment with your Brightspace submission:
    • GH Repo named cpnt262-a5
    • Deployed Heroku App URL