I’m very familiar with Ghost, code injection etc. at this point. But what I’m wanting to do is:
Allow members (that is, users who are logged in) to click a button (a heart icon) next to a post to indicate that they like it. The heart icon should change from black and white outline to red (this part is easy enough). I want the heart icon to remain red every time they log in (unless they click it again to “unheart” it).
The ultimate purpose of this is for members to be able to indicate to me which posts they enjoyed the most. I would then ideally like to have a page (perhaps visible only to myself, or perhaps everyone, I haven’t decided) showing a list of posts in order of popularity (total number of hearts).
Does anybody have suggestions or advice for me?
I was initially looking at using userbase.com for this website when I was creating it as a static site, to maintain data persistence for users, but I’ve opted to switch over to Ghost for the simplicity of creating new posts etc.
Any help would be much appreciated!