I would like to do a user like system but I have no idea how to do it.
I click on the heart to the right of the name. The heart turns red. I click again on the same heart, it turns gray.
If there is an error during the request related to multiple reasons, I would like to display a modal with text telling it to reload the page.
The liked user must be alerted in real time that he has been liked.
Thank you for your help