Commit Graph
1 Commits
Author SHA1 Message Date
dr 44720cff79 feat: implement voting functionality for rants and comments
Add vote endpoints for both rants and comments, enabling users to upvote or downvote content. The implementation includes a new votes table with user_id, target_type, and target_id columns, along with vote counting logic that updates the parent entity's score in real-time.
2024-12-03 21:25:03 +00:00