7 AnswersNew Answer
I liked your question. That should be enough. 🤔
Jan Markus I like the way you think.
CamelBeatsSnake thanks do you have any suggestions which language to implement the server side in?
Xixi Cool. Look into web frameworks for Python like Django. There are lots of them but Django is very widely used from what I know. There's also Flask which is more lightweight but very quick to set up, and Web2Py might be worth looking at.
It sounds like you need to store some state. It sounds like you need a feature where you need to know about all the likes from all your users, then use that data to generate a ranking that all users can see. If I'm right in thinking that's why you want to do, you'll need your own server side solution. Basically, it can't just be a client-side solution because you need to send out the ranking info to all your users. One approach is every time any user presses like on any item, a request is made to an API which handles adding the like to the item. When the application loads in the client (browser), it'll have to make a request to get all the like data so that it can display them in the right order according to the ranking.
CamelBeatsSnake ooh ok. thanks a lot! I'll look into those I know python but haven't done any for the purposes of web dev