https://www.virendrachandak.com/techtalk/voting-functionality-in-a-website/
Voting Functionality in a website