This PR includes like-dislike functionality; inclusions are -
Controller routes and Model DB calls for checking current like/dislike state, creating like/dislike based on which button user clicks, editing like/dislike based on what they click, un-liking/un-disliking functionality, remembering the responses
Ensuring single-presses work and everytime one of those buttons is clicked, the button fills up to show if the post is liked or disliked and at the same time the info is stored/updated in the database
Everything working well in conjunction - reading, creating, updating, deleting - without needing to reload the whole page; only reloading the containers for the likes and dislikes based on button presses and API calls
Started work on counting votes so that likes and dislikes can be displayed below the respective buttons; there are some issues here that will need to be addressed - I will work on them once we have finished deployment today.
Hey guys,
This PR includes like-dislike functionality; inclusions are -
Started work on counting votes so that likes and dislikes can be displayed below the respective buttons; there are some issues here that will need to be addressed - I will work on them once we have finished deployment today.
Thanks!