Voting feature for anonymous users
This is a:
- [ ] bug report
- [x] feature request
Description:
Add a voting feature :star: that works for anonymous users.
For this, you may assign a voting to each category of codes in the meta-data. When a user votes for a particular search result, store the vote assigned along with the IP address of the user in a database. On displaying, calculate the average vote and display it.
This will provide a social feature and provide some interactivity. We will provide more social searching feature soon as the user profile and authentication system are ready. The anonymous social features will be permanent as everyone deserves to enjoy a good search. :+1:
I would like to work on this issue
@Shweta4321 Feel free to work on this feature. Keep us updated on your progress :+1:
@AdiChat What should be the key for different codes in database to store avg rating done by the user?
You may use the key in metadata.json as the key for the average_rating table. For instance, string_algorithms/src/kmp_algorithm may have an average rating.
@AdiChat review.