{"action":"opened","number":31,"pull_request":{"url":"https://api.github.com/repos/emmygozi/Fastchop/pulls/31","id":217894797,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3ODk0Nzk3","html_url":"https://github.com/emmygozi/Fastchop/pull/31","diff_url":"https://github.com/emmygozi/Fastchop/pull/31.diff","patch_url":"https://github.com/emmygozi/Fastchop/pull/31.patch","issue_url":"https://api.github.com/repos/emmygozi/Fastchop/issues/31","number":31,"state":"open","locked":false,"title":"#160723263 Add login endpoint","user":{"login":"emmygozi","id":32358797,"node_id":"MDQ6VXNlcjMyMzU4Nzk3","avatar_url":"https://avatars2.githubusercontent.com/u/32358797?v=4","gravatar_id":"","url":"https://api.github.com/users/emmygozi","html_url":"https://github.com/emmygozi","followers_url":"https://api.github.com/users/emmygozi/followers","following_url":"https://api.github.com/users/emmygozi/following{/other_user}","gists_url":"https://api.github.com/users/emmygozi/gists{/gist_id}","starred_url":"https://api.github.com/users/emmygozi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmygozi/subscriptions","organizations_url":"https://api.github.com/users/emmygozi/orgs","repos_url":"https://api.github.com/users/emmygozi/repos","events_url":"https://api.github.com/users/emmygozi/events{/privacy}","received_events_url":"https://api.github.com/users/emmygozi/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nAdd login endpoint\r\n#### Description of Task to be completed?\r\n- Added login endpoint\r\n- Added validation for endpoint\r\n- Wrote the test for endpoint\r\n#### How should this be manually tested?\r\nvisit https://mydiary-entry.herokuapp.com/api/vi/auth/login\r\n#### What are the relevant pivotal tracker stories?\r\nhttps://www.pivotaltracker.com/story/show/160723263\r\n#### Any background context you want to add?\r\nN/A\r\n#### Screenshots\r\nN/A","created_at":"2018-09-25T08:29:47Z","updated_at":"2018-09-25T08:29:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/emmygozi/Fastchop/pulls/31/commits","review_comments_url":"https://api.github.com/repos/emmygozi/Fastchop/pulls/31/comments","review_comment_url":"https://api.github.com/repos/emmygozi/Fastchop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emmygozi/Fastchop/issues/31/comments","statuses_url":"https://api.github.com/repos/emmygozi/Fastchop/statuses/6213db21d9a929cd176052ae5e1837c5782e0183","head":{"label":"emmygozi:ft-user-login-api-160723263","ref":"ft-user-login-api-160723263","sha":"6213db21d9a929cd176052ae5e1837c5782e0183","user":{"login":"emmygozi","id":32358797,"node_id":"MDQ6VXNlcjMyMzU4Nzk3","avatar_url":"https://avatars2.githubusercontent.com/u/32358797?v=4","gravatar_id":"","url":"https://api.github.com/users/emmygozi","html_url":"https://github.com/emmygozi","followers_url":"https://api.github.com/users/emmygozi/followers","following_url":"https://api.github.com/users/emmygozi/following{/other_user}","gists_url":"https://api.github.com/users/emmygozi/gists{/gist_id}","starred_url":"https://api.github.com/users/emmygozi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmygozi/subscriptions","organizations_url":"https://api.github.com/users/emmygozi/orgs","repos_url":"https://api.github.com/users/emmygozi/repos","events_url":"https://api.github.com/users/emmygozi/events{/privacy}","received_events_url":"https://api.github.com/users/emmygozi/received_events","type":"User","site_admin":false},"repo":{"id":148125669,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgxMjU2Njk=","name":"Fastchop","full_name":"emmygozi/Fastchop","private":false,"owner":{"login":"emmygozi","id":32358797,"node_id":"MDQ6VXNlcjMyMzU4Nzk3","avatar_url":"https://avatars2.githubusercontent.com/u/32358797?v=4","gravatar_id":"","url":"https://api.github.com/users/emmygozi","html_url":"https://github.com/emmygozi","followers_url":"https://api.github.com/users/emmygozi/followers","following_url":"https://api.github.com/users/emmygozi/following{/other_user}","gists_url":"https://api.github.com/users/emmygozi/gists{/gist_id}","starred_url":"https://api.github.com/users/emmygozi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmygozi/subscriptions","organizations_url":"https://api.github.com/users/emmygozi/orgs","repos_url":"https://api.github.com/users/emmygozi/repos","events_url":"https://api.github.com/users/emmygozi/events{/privacy}","received_events_url":"https://api.github.com/users/emmygozi/received_events","type":"User","site_admin":false},"html_url":"https://github.com/emmygozi/Fastchop","description":"Fastchop is a food delivery service app for a restaurant.","fork":false,"url":"https://api.github.com/repos/emmygozi/Fastchop","forks_url":"https://api.github.com/repos/emmygozi/Fastchop/forks","keys_url":"https://api.github.com/repos/emmygozi/Fastchop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emmygozi/Fastchop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emmygozi/Fastchop/teams","hooks_url":"https://api.github.com/repos/emmygozi/Fastchop/hooks","issue_events_url":"https://api.github.com/repos/emmygozi/Fastchop/issues/events{/number}","events_url":"https://api.github.com/repos/emmygozi/Fastchop/events","assignees_url":"https://api.github.com/repos/emmygozi/Fastchop/assignees{/user}","branches_url":"https://api.github.com/repos/emmygozi/Fastchop/branches{/branch}","tags_url":"https://api.github.com/repos/emmygozi/Fastchop/tags","blobs_url":"https://api.github.com/repos/emmygozi/Fastchop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emmygozi/Fastchop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emmygozi/Fastchop/git/refs{/sha}","trees_url":"https://api.github.com/repos/emmygozi/Fastchop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emmygozi/Fastchop/statuses/{sha}","languages_url":"https://api.github.com/repos/emmygozi/Fastchop/languages","stargazers_url":"https://api.github.com/repos/emmygozi/Fastchop/stargazers","contributors_url":"https://api.github.com/repos/emmygozi/Fastchop/contributors","subscribers_url":"https://api.github.com/repos/emmygozi/Fastchop/subscribers","subscription_url":"https://api.github.com/repos/emmygozi/Fastchop/subscription","commits_url":"https://api.github.com/repos/emmygozi/Fastchop/commits{/sha}","git_commits_url":"https://api.github.com/repos/emmygozi/Fastchop/git/commits{/sha}","comments_url":"https://api.github.com/repos/emmygozi/Fastchop/comments{/number}","issue_comment_url":"https://api.github.com/repos/emmygozi/Fastchop/issues/comments{/number}","contents_url":"https://api.github.com/repos/emmygozi/Fastchop/contents/{+path}","compare_url":"https://api.github.com/repos/emmygozi/Fastchop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emmygozi/Fastchop/merges","archive_url":"https://api.github.com/repos/emmygozi/Fastchop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emmygozi/Fastchop/downloads","issues_url":"https://api.github.com/repos/emmygozi/Fastchop/issues{/number}","pulls_url":"https://api.github.com/repos/emmygozi/Fastchop/pulls{/number}","milestones_url":"https://api.github.com/repos/emmygozi/Fastchop/milestones{/number}","notifications_url":"https://api.github.com/repos/emmygozi/Fastchop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emmygozi/Fastchop/labels{/name}","releases_url":"https://api.github.com/repos/emmygozi/Fastchop/releases{/id}","deployments_url":"https://api.github.com/repos/emmygozi/Fastchop/deployments","created_at":"2018-09-10T08:45:53Z","updated_at":"2018-09-24T22:17:38Z","pushed_at":"2018-09-25T08:23:22Z","git_url":"git://github.com/emmygozi/Fastchop.git","ssh_url":"git@github.com:emmygozi/Fastchop.git","clone_url":"https://github.com/emmygozi/Fastchop.git","svn_url":"https://github.com/emmygozi/Fastchop","homepage":null,"size":295,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"emmygozi:develop","ref":"develop","sha":"72520e92819d8152937ca84bd3a3fa9c8ace7e1b","user":{"login":"emmygozi","id":32358797,"node_id":"MDQ6VXNlcjMyMzU4Nzk3","avatar_url":"https://avatars2.githubusercontent.com/u/32358797?v=4","gravatar_id":"","url":"https://api.github.com/users/emmygozi","html_url":"https://github.com/emmygozi","followers_url":"https://api.github.com/users/emmygozi/followers","following_url":"https://api.github.com/users/emmygozi/following{/other_user}","gists_url":"https://api.github.com/users/emmygozi/gists{/gist_id}","starred_url":"https://api.github.com/users/emmygozi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmygozi/subscriptions","organizations_url":"https://api.github.com/users/emmygozi/orgs","repos_url":"https://api.github.com/users/emmygozi/repos","events_url":"https://api.github.com/users/emmygozi/events{/privacy}","received_events_url":"https://api.github.com/users/emmygozi/received_events","type":"User","site_admin":false},"repo":{"id":148125669,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgxMjU2Njk=","name":"Fastchop","full_name":"emmygozi/Fastchop","private":false,"owner":{"login":"emmygozi","id":32358797,"node_id":"MDQ6VXNlcjMyMzU4Nzk3","avatar_url":"https://avatars2.githubusercontent.com/u/32358797?v=4","gravatar_id":"","url":"https://api.github.com/users/emmygozi","html_url":"https://github.com/emmygozi","followers_url":"https://api.github.com/users/emmygozi/followers","following_url":"https://api.github.com/users/emmygozi/following{/other_user}","gists_url":"https://api.github.com/users/emmygozi/gists{/gist_id}","starred_url":"https://api.github.com/users/emmygozi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmygozi/subscriptions","organizations_url":"https://api.github.com/users/emmygozi/orgs","repos_url":"https://api.github.com/users/emmygozi/repos","events_url":"https://api.github.com/users/emmygozi/events{/privacy}","received_events_url":"https://api.github.com/users/emmygozi/received_events","type":"User","site_admin":false},"html_url":"https://github.com/emmygozi/Fastchop","description":"Fastchop is a food delivery service app for a restaurant.","fork":false,"url":"https://api.github.com/repos/emmygozi/Fastchop","forks_url":"https://api.github.com/repos/emmygozi/Fastchop/forks","keys_url":"https://api.github.com/repos/emmygozi/Fastchop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emmygozi/Fastchop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emmygozi/Fastchop/teams","hooks_url":"https://api.github.com/repos/emmygozi/Fastchop/hooks","issue_events_url":"https://api.github.com/repos/emmygozi/Fastchop/issues/events{/number}","events_url":"https://api.github.com/repos/emmygozi/Fastchop/events","assignees_url":"https://api.github.com/repos/emmygozi/Fastchop/assignees{/user}","branches_url":"https://api.github.com/repos/emmygozi/Fastchop/branches{/branch}","tags_url":"https://api.github.com/repos/emmygozi/Fastchop/tags","blobs_url":"https://api.github.com/repos/emmygozi/Fastchop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emmygozi/Fastchop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emmygozi/Fastchop/git/refs{/sha}","trees_url":"https://api.github.com/repos/emmygozi/Fastchop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emmygozi/Fastchop/statuses/{sha}","languages_url":"https://api.github.com/repos/emmygozi/Fastchop/languages","stargazers_url":"https://api.github.com/repos/emmygozi/Fastchop/stargazers","contributors_url":"https://api.github.com/repos/emmygozi/Fastchop/contributors","subscribers_url":"https://api.github.com/repos/emmygozi/Fastchop/subscribers","subscription_url":"https://api.github.com/repos/emmygozi/Fastchop/subscription","commits_url":"https://api.github.com/repos/emmygozi/Fastchop/commits{/sha}","git_commits_url":"https://api.github.com/repos/emmygozi/Fastchop/git/commits{/sha}","comments_url":"https://api.github.com/repos/emmygozi/Fastchop/comments{/number}","issue_comment_url":"https://api.github.com/repos/emmygozi/Fastchop/issues/comments{/number}","contents_url":"https://api.github.com/repos/emmygozi/Fastchop/contents/{+path}","compare_url":"https://api.github.com/repos/emmygozi/Fastchop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emmygozi/Fastchop/merges","archive_url":"https://api.github.com/repos/emmygozi/Fastchop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emmygozi/Fastchop/downloads","issues_url":"https://api.github.com/repos/emmygozi/Fastchop/issues{/number}","pulls_url":"https://api.github.com/repos/emmygozi/Fastchop/pulls{/number}","milestones_url":"https://api.github.com/repos/emmygozi/Fastchop/milestones{/number}","notifications_url":"https://api.github.com/repos/emmygozi/Fastchop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emmygozi/Fastchop/labels{/name}","releases_url":"https://api.github.com/repos/emmygozi/Fastchop/releases{/id}","deployments_url":"https://api.github.com/repos/emmygozi/Fastchop/deployments","created_at":"2018-09-10T08:45:53Z","updated_at":"2018-09-24T22:17:38Z","pushed_at":"2018-09-25T08:23:22Z","git_url":"git://github.com/emmygozi/Fastchop.git","ssh_url":"git@github.com:emmygozi/Fastchop.git","clone_url":"https://github.com/emmygozi/Fastchop.git","svn_url":"https://github.com/emmygozi/Fastchop","homepage":null,"size":295,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/emmygozi/Fastchop/pulls/31"},"html":{"href":"https://github.com/emmygozi/Fastchop/pull/31"},"issue":{"href":"https://api.github.com/repos/emmygozi/Fastchop/issues/31"},"comments":{"href":"https://api.github.com/repos/emmygozi/Fastchop/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/emmygozi/Fastchop/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/emmygozi/Fastchop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emmygozi/Fastchop/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/emmygozi/Fastchop/statuses/6213db21d9a929cd176052ae5e1837c5782e0183"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":296,"deletions":0,"changed_files":5}}
{"actor":{"display_login":"emmygozi"}}