Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows a user to save content to view later. #39

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

mattrltrent
Copy link
Member

Primary changes

  • Adds POST /users/saved/ that allows users to save a comment or post to view later.
  • Adds DELETE /users/saved/ that allows users to delete some bit of content they've saved.
  • Adds GET /users/saved/ that allows users to paginate through all their saved content.

Secondary changes

  • Adds documentation in openapi.yaml for routes: POST DELETE GET /users/saved/.

Notes

  • This adds the ability to save posts, and includes the template for saving comments. It won't work properly for comments yet because we don't have comments implemented at all in the app. Does this mean this PR shouldn't be merged until comments are added?

Closes #11.

@mattrltrent mattrltrent added the feature Something to be added or improved upon. label Feb 24, 2023
@mattrltrent mattrltrent requested a review from minitech February 24, 2023 15:49
@mattrltrent mattrltrent self-assigned this Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Something to be added or improved upon.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Saving a confession/comment to a user's profile.
1 participant