akhil-rasheed / hyperlocal

Local events, alerts and news, find out what's happening around you right now
https://hyper-local.vercel.app
1 stars 2 forks source link

Implement upvote downvote functionality #11

Closed akhil-rasheed closed 1 year ago

akhil-rasheed commented 1 year ago

API already implemented, integration required

1) increase/decrease count locally 2) call API


Make sure posts maintain upvote/downvote state even on refresh. Use upvoted users array, research optimal approach

giri-madhan commented 1 year ago

Hi @akhil-rasheed, where should this feature be implemented? Also, do we have a design for the upvote/downvote buttons?

akhil-rasheed commented 1 year ago

Hey @giri-madhan We appreciate your interest in contributing, but I have to mention that this is a repo for a university project with a few of my teammates. However, if you're still interested in contributing, I'll make some contribution guidelines later this week, and you can check back then!

giri-madhan commented 1 year ago

Sure @akhil-rasheed. Thank you!

prithvi206 commented 1 year ago

done.