add a button on posts that allows a user to like it.
Liking it will create a new like object which will be stored in the database. If the user presses it again it will unlike it and remove that row from the database. This will be reflected on the html by like a highlight or something on the like button
add a button on posts that allows a user to like it.
Liking it will create a new like object which will be stored in the database. If the user presses it again it will unlike it and remove that row from the database. This will be reflected on the html by like a highlight or something on the like button