Project 3 - the scoop - further instructions?


#1

I’ve put this question in Javascript: Objects II though it does not really belong there. It seemed the most appropriate. Im really surprised there is no category for Javascript “Project 3 - The Scoop” for the class Building Web APIs from scratch.
https://www.codecademy.com/programs/fa1f549c401b918739ba5cdc7f36ca7e/items/8ddd22b029dc765db11f062de7df9256

Maybe Im looking in the wrong place?

Im a bit stuck on this one, it feels like there are some missing instructions. Ive added the new comments, and nextcomments to the database object, as well as the new routes to the route object. But Im still missing some pieces to the route objects. Here is what I have so far:

'/comments':{
    'POST'
  },
  '/comments/:id': {
    'PUT',
    'DELETE'
  },
  '/comments/:id/upvote': {
    'PUT'
  },
  '/comments/:id/downvote': {
    'PUT'
  }

clearly I need the functions that the keys are mapped to. So I assume that Im supposed to mimic the logic of the functions associated with the Article functions? Am I correct in this assumption?

Thanks!


#2

You will need to take this up with your instructor, advisor or Slack channel as we have no access to the project.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.