Favorite button on submission page adds submission to favorite
Clicking it again removes it from favorites
Needs some CSS but is functional
Wrote DB initialization instructions in README.
To test, select a post and add it to favorite. Check in your profile and see it in the favorites list. Go back to the submission, unfavorite it, and it will no long be in the favorites list.
To test, select a post and add it to favorite. Check in your profile and see it in the favorites list. Go back to the submission, unfavorite it, and it will no long be in the favorites list.