{"action":"closed","number":29,"pull_request":{"url":"https://api.github.com/repos/andela/ah-titans/pulls/29","id":208278586,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4Mjc4NTg2","html_url":"https://github.com/andela/ah-titans/pull/29","diff_url":"https://github.com/andela/ah-titans/pull/29.diff","patch_url":"https://github.com/andela/ah-titans/pull/29.patch","issue_url":"https://api.github.com/repos/andela/ah-titans/issues/29","number":29,"state":"closed","locked":false,"title":"#159691634 Like dislike comment ","user":{"login":"chepmanu","id":28649357,"node_id":"MDQ6VXNlcjI4NjQ5MzU3","avatar_url":"https://avatars0.githubusercontent.com/u/28649357?v=4","gravatar_id":"","url":"https://api.github.com/users/chepmanu","html_url":"https://github.com/chepmanu","followers_url":"https://api.github.com/users/chepmanu/followers","following_url":"https://api.github.com/users/chepmanu/following{/other_user}","gists_url":"https://api.github.com/users/chepmanu/gists{/gist_id}","starred_url":"https://api.github.com/users/chepmanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chepmanu/subscriptions","organizations_url":"https://api.github.com/users/chepmanu/orgs","repos_url":"https://api.github.com/users/chepmanu/repos","events_url":"https://api.github.com/users/chepmanu/events{/privacy}","received_events_url":"https://api.github.com/users/chepmanu/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nLike and dislike comments.\r\n\r\n#### Description of tasks to be completed\r\nAn authenticated user should be able to like and dislike comments.\r\n\r\n#### How should this be manually tested?\r\n```sh\r\n$ git clone https://github.com/andela/ah-titans.git\r\n```\r\n```sh\r\n$ git checkout -b ft-like-dislike-comment-159691634\r\n```\r\n```sh\r\n$ cd ah-titans/authors\r\n```\r\n\r\n> Add **.env** file and copy **example.env** content.\r\n> Add your local database configuration settings to your **.env** file\r\n\r\n```sh\r\n$ source .env\r\n```\r\n```sh\r\n$ python3.6 -m venv venv\r\n```\r\n```sh\r\n$ source venv/bin/activate\r\n```\r\n```sh\r\n$ pip install -r requirements.txt\r\n```\r\n```sh\r\n$ python manage.py makemigrations\r\n```\r\n```sh\r\n$ python manage.py runserver\r\n```\r\n\r\n#### Any background context you want to provide?\r\nNo\r\n\r\n#### What are the relevant Pivotal Tracker Stories?\r\n[#159691634](https://www.pivotaltracker.com/story/show/159691634)\r\n\r\n#### Screenshots\r\n**Liked and disliked comment  UI**\r\n![image](https://user-images.githubusercontent.com/28649357/44093815-383284ae-9fdd-11e8-9ed1-8f265f3ef2db.png)\r\n\r\n**On postman when liking comment**\r\n![image](https://user-images.githubusercontent.com/28649357/44093722-fddb22ac-9fdc-11e8-96b5-fa0789a0fc13.png)\r\n**On postman when disliking comment**\r\n![image](https://user-images.githubusercontent.com/28649357/44093914-72e827de-9fdd-11e8-8e05-27bf067ef1b2.png)\r\n\r\n\r\n\r\n\r\n","created_at":"2018-08-14T13:19:33Z","updated_at":"2018-08-17T11:38:15Z","closed_at":"2018-08-17T11:38:15Z","merged_at":null,"merge_commit_sha":"ae3b59eef23d9a0409ef7b13e2a003abe13e6e61","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/ah-titans/pulls/29/commits","review_comments_url":"https://api.github.com/repos/andela/ah-titans/pulls/29/comments","review_comment_url":"https://api.github.com/repos/andela/ah-titans/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/ah-titans/issues/29/comments","statuses_url":"https://api.github.com/repos/andela/ah-titans/statuses/4e4f1f68c121f9c4a0dd9349bd3a2d6823ee4014","head":{"label":"andela:ft-like_dislike_comment_159691634","ref":"ft-like_dislike_comment_159691634","sha":"4e4f1f68c121f9c4a0dd9349bd3a2d6823ee4014","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":140683360,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA2ODMzNjA=","name":"ah-titans","full_name":"andela/ah-titans","owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/ah-titans","description":null,"fork":false,"url":"https://api.github.com/repos/andela/ah-titans","forks_url":"https://api.github.com/repos/andela/ah-titans/forks","keys_url":"https://api.github.com/repos/andela/ah-titans/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/ah-titans/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/ah-titans/teams","hooks_url":"https://api.github.com/repos/andela/ah-titans/hooks","issue_events_url":"https://api.github.com/repos/andela/ah-titans/issues/events{/number}","events_url":"https://api.github.com/repos/andela/ah-titans/events","assignees_url":"https://api.github.com/repos/andela/ah-titans/assignees{/user}","branches_url":"https://api.github.com/repos/andela/ah-titans/branches{/branch}","tags_url":"https://api.github.com/repos/andela/ah-titans/tags","blobs_url":"https://api.github.com/repos/andela/ah-titans/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/ah-titans/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/ah-titans/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/ah-titans/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/ah-titans/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/ah-titans/languages","stargazers_url":"https://api.github.com/repos/andela/ah-titans/stargazers","contributors_url":"https://api.github.com/repos/andela/ah-titans/contributors","subscribers_url":"https://api.github.com/repos/andela/ah-titans/subscribers","subscription_url":"https://api.github.com/repos/andela/ah-titans/subscription","commits_url":"https://api.github.com/repos/andela/ah-titans/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/ah-titans/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/ah-titans/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/ah-titans/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/ah-titans/contents/{+path}","compare_url":"https://api.github.com/repos/andela/ah-titans/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/ah-titans/merges","archive_url":"https://api.github.com/repos/andela/ah-titans/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/ah-titans/downloads","issues_url":"https://api.github.com/repos/andela/ah-titans/issues{/number}","pulls_url":"https://api.github.com/repos/andela/ah-titans/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/ah-titans/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/ah-titans/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/ah-titans/labels{/name}","releases_url":"https://api.github.com/repos/andela/ah-titans/releases{/id}","deployments_url":"https://api.github.com/repos/andela/ah-titans/deployments","created_at":"2018-07-12T08:18:18Z","updated_at":"2018-08-17T09:51:24Z","pushed_at":"2018-08-17T10:57:01Z","git_url":"git://github.com/andela/ah-titans.git","ssh_url":"git@github.com:andela/ah-titans.git","clone_url":"https://github.com/andela/ah-titans.git","svn_url":"https://github.com/andela/ah-titans","homepage":null,"size":322,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":3,"watchers":1,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"906a9a14f319fdbb7f1a4eca5d70b68a88794ea7","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":140683360,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA2ODMzNjA=","name":"ah-titans","full_name":"andela/ah-titans","owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/ah-titans","description":null,"fork":false,"url":"https://api.github.com/repos/andela/ah-titans","forks_url":"https://api.github.com/repos/andela/ah-titans/forks","keys_url":"https://api.github.com/repos/andela/ah-titans/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/ah-titans/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/ah-titans/teams","hooks_url":"https://api.github.com/repos/andela/ah-titans/hooks","issue_events_url":"https://api.github.com/repos/andela/ah-titans/issues/events{/number}","events_url":"https://api.github.com/repos/andela/ah-titans/events","assignees_url":"https://api.github.com/repos/andela/ah-titans/assignees{/user}","branches_url":"https://api.github.com/repos/andela/ah-titans/branches{/branch}","tags_url":"https://api.github.com/repos/andela/ah-titans/tags","blobs_url":"https://api.github.com/repos/andela/ah-titans/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/ah-titans/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/ah-titans/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/ah-titans/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/ah-titans/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/ah-titans/languages","stargazers_url":"https://api.github.com/repos/andela/ah-titans/stargazers","contributors_url":"https://api.github.com/repos/andela/ah-titans/contributors","subscribers_url":"https://api.github.com/repos/andela/ah-titans/subscribers","subscription_url":"https://api.github.com/repos/andela/ah-titans/subscription","commits_url":"https://api.github.com/repos/andela/ah-titans/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/ah-titans/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/ah-titans/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/ah-titans/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/ah-titans/contents/{+path}","compare_url":"https://api.github.com/repos/andela/ah-titans/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/ah-titans/merges","archive_url":"https://api.github.com/repos/andela/ah-titans/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/ah-titans/downloads","issues_url":"https://api.github.com/repos/andela/ah-titans/issues{/number}","pulls_url":"https://api.github.com/repos/andela/ah-titans/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/ah-titans/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/ah-titans/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/ah-titans/labels{/name}","releases_url":"https://api.github.com/repos/andela/ah-titans/releases{/id}","deployments_url":"https://api.github.com/repos/andela/ah-titans/deployments","created_at":"2018-07-12T08:18:18Z","updated_at":"2018-08-17T09:51:24Z","pushed_at":"2018-08-17T10:57:01Z","git_url":"git://github.com/andela/ah-titans.git","ssh_url":"git@github.com:andela/ah-titans.git","clone_url":"https://github.com/andela/ah-titans.git","svn_url":"https://github.com/andela/ah-titans","homepage":null,"size":322,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":3,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/ah-titans/pulls/29"},"html":{"href":"https://github.com/andela/ah-titans/pull/29"},"issue":{"href":"https://api.github.com/repos/andela/ah-titans/issues/29"},"comments":{"href":"https://api.github.com/repos/andela/ah-titans/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/ah-titans/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/ah-titans/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/ah-titans/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/andela/ah-titans/statuses/4e4f1f68c121f9c4a0dd9349bd3a2d6823ee4014"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":1,"review_comments":1,"maintainer_can_modify":false,"commits":7,"additions":615,"deletions":38,"changed_files":18}}
{"actor":{"display_login":"chepmanu"}}