Closed vprusso closed 3 years ago
@WrathfulSpatula Just a quick check-in to see if this looks okay. I can either enhance this branch to include the recently included trending/latest routes or, if you'd like, I can add them in a separate branch, whichever you prefer.
@vprusso Sorry for the delayed response, but, at least, the homepage is now done, in other news.
The top submissions list is no longer the top
route. Instead, we have 3 types of top
routes: trending
, latest
, and popular
. Otherwise, these 3 routes have the same signature as the old top
, replacing the top
switch. Also, they're public, so that they can be viewed from the homepage without authentication.
Sorry for changing user stories under your nose, yesterday. Please just change this to reflect the three new routes, and remove top
.
@WrathfulSpatula. Cool, I think those three routes are much more specific and useful. I've gone ahead and updated the client to support retrieving those (along with some additional notes in the README), so it should be good to go.
Diff contains the following:
Submission
objects.Submission
schema to include other pertinent features include theid
,dateDeleted
,upvotes
, etc.README.md
to exhibit functionality of adding, deleting, etc. submissions.