{"action":"created","issue":{"url":"https://api.github.com/repos/andela/ah-backend-stark/issues/31","repository_url":"https://api.github.com/repos/andela/ah-backend-stark","labels_url":"https://api.github.com/repos/andela/ah-backend-stark/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/andela/ah-backend-stark/issues/31/comments","events_url":"https://api.github.com/repos/andela/ah-backend-stark/issues/31/events","html_url":"https://github.com/andela/ah-backend-stark/pull/31","id":370584406,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzMjI4MDUw","number":31,"title":"#160584003 users should be able to follow each other","user":{"login":"balaakagordon","id":40589388,"node_id":"MDQ6VXNlcjQwNTg5Mzg4","avatar_url":"https://avatars1.githubusercontent.com/u/40589388?v=4","gravatar_id":"","url":"https://api.github.com/users/balaakagordon","html_url":"https://github.com/balaakagordon","followers_url":"https://api.github.com/users/balaakagordon/followers","following_url":"https://api.github.com/users/balaakagordon/following{/other_user}","gists_url":"https://api.github.com/users/balaakagordon/gists{/gist_id}","starred_url":"https://api.github.com/users/balaakagordon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balaakagordon/subscriptions","organizations_url":"https://api.github.com/users/balaakagordon/orgs","repos_url":"https://api.github.com/users/balaakagordon/repos","events_url":"https://api.github.com/users/balaakagordon/events{/privacy}","received_events_url":"https://api.github.com/users/balaakagordon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-16T12:20:57Z","updated_at":"2018-11-06T13:46:36Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/andela/ah-backend-stark/pulls/31","html_url":"https://github.com/andela/ah-backend-stark/pull/31","diff_url":"https://github.com/andela/ah-backend-stark/pull/31.diff","patch_url":"https://github.com/andela/ah-backend-stark/pull/31.patch"},"body":"#### What does this PR do?\r\n`allows users to follow each other and to manage people they are following`\r\n#### Description of Task to be completed?\r\nHave the following endpoints working:\r\n`POST api/profile/<str:username>/follow/`\r\n`DELETE api/profile/<str:username>/unfollow/`\r\n`GET api/profile/<str:username>/following/`\r\n`GET api/profile/<str:username>/followers/`\r\n#### How should this be manually tested?\r\nAfter pulling the changes from this branch migrations should be made using:\r\n```\r\n - $ python manage.py makemigrations articles\r\n - $ python manage.py makemigrations authentication\r\n - $ python manage.py makemigrations profiles\r\n - $ python manage.py migrate \r\n```\r\n\r\nUsing Postman to run the application, you can run the endpoints above to:\r\n```\r\n- follow users\r\n- unfollow users\r\n- look at your followers\r\n- look at other users' followers\r\n- look at users you are following\r\n- look at users other users are following\r\n```\r\n#### What are the relevant pivotal tracker stories?\r\n#160584003 - Users should be able to follow each other\r\n#### Screenshots (if appropriate)\r\nGet users who you are following\r\n![image](https://user-images.githubusercontent.com/40589388/47015794-9f9c1880-d156-11e8-870c-b60ffece45be.png)\r\n\r\nGet followers\r\n![image](https://user-images.githubusercontent.com/40589388/47015836-c35f5e80-d156-11e8-99dd-8975bc40114a.png)\r\n\r\nMessage after following \"tester4\"\r\n![image](https://user-images.githubusercontent.com/40589388/47015913-f4d82a00-d156-11e8-8e2c-d56ace7ad6e5.png)\r\n\r\nMessage after unfollowing \"tester4\"\r\n![image](https://user-images.githubusercontent.com/40589388/47015955-0faa9e80-d157-11e8-908e-fd4ba207dd0f.png)\r\n\r\n#### Questions:"},"comment":{"url":"https://api.github.com/repos/andela/ah-backend-stark/issues/comments/436257551","html_url":"https://github.com/andela/ah-backend-stark/pull/31#issuecomment-436257551","issue_url":"https://api.github.com/repos/andela/ah-backend-stark/issues/31","id":436257551,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjI1NzU1MQ==","user":{"login":"kenneth051","id":40117122,"node_id":"MDQ6VXNlcjQwMTE3MTIy","avatar_url":"https://avatars0.githubusercontent.com/u/40117122?v=4","gravatar_id":"","url":"https://api.github.com/users/kenneth051","html_url":"https://github.com/kenneth051","followers_url":"https://api.github.com/users/kenneth051/followers","following_url":"https://api.github.com/users/kenneth051/following{/other_user}","gists_url":"https://api.github.com/users/kenneth051/gists{/gist_id}","starred_url":"https://api.github.com/users/kenneth051/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenneth051/subscriptions","organizations_url":"https://api.github.com/users/kenneth051/orgs","repos_url":"https://api.github.com/users/kenneth051/repos","events_url":"https://api.github.com/users/kenneth051/events{/privacy}","received_events_url":"https://api.github.com/users/kenneth051/received_events","type":"User","site_admin":false},"created_at":"2018-11-06T13:46:36Z","updated_at":"2018-11-06T13:46:36Z","author_association":"COLLABORATOR","body":"LGTM"}}
{"actor":{"display_login":"kenneth051"}}