bounswe / bounswe2022group2

17 stars 8 forks source link

Backend: Upvote/Downvote Posts API #830

Closed codingAku closed 1 year ago

codingAku commented 1 year ago

Issue Description

Currently, there is no way for users of the Learnify app to upvote or downvote post within the app. This feature would allow users to give feedback on the usefulness and quality of the post and would also provide valuable information for post curation and improvement.

We propose the creation of a new endpoint in the backend of the Learnify app that allows users to upvote or downvote post. This endpoint should accept a user ID, a Learning Space ID ,a post ID, and an upvote or downvote action as inputs and update the relevant post's upvote and downvote counts accordingly.

Step Details

Steps that will be performed:

Final Actions

The review and merge of the PR will close the issue.

Deadline of the Issue

24.12.2022 - 00.00

Reviewer

None

Deadline for the Review

25.12.2022 - 00.00

codingAku commented 1 year ago

Please see the documentation. https://documenter.getpostman.com/view/16983185/2s8Yt1tADd#00069d92-2c78-4ab2-a0aa-37e6aeb1391a

codingAku commented 1 year ago

Related PR merged.