{"action":"closed","number":12,"pull_request":{"url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/pulls/12","id":240645138,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwNjQ1MTM4","html_url":"https://github.com/j0nimost/StackOverflow-Lite/pull/12","diff_url":"https://github.com/j0nimost/StackOverflow-Lite/pull/12.diff","patch_url":"https://github.com/j0nimost/StackOverflow-Lite/pull/12.patch","issue_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/issues/12","number":12,"state":"closed","locked":false,"title":"Ft user can register 162757626","user":{"login":"j0nimost","id":24381727,"node_id":"MDQ6VXNlcjI0MzgxNzI3","avatar_url":"https://avatars1.githubusercontent.com/u/24381727?v=4","gravatar_id":"","url":"https://api.github.com/users/j0nimost","html_url":"https://github.com/j0nimost","followers_url":"https://api.github.com/users/j0nimost/followers","following_url":"https://api.github.com/users/j0nimost/following{/other_user}","gists_url":"https://api.github.com/users/j0nimost/gists{/gist_id}","starred_url":"https://api.github.com/users/j0nimost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0nimost/subscriptions","organizations_url":"https://api.github.com/users/j0nimost/orgs","repos_url":"https://api.github.com/users/j0nimost/repos","events_url":"https://api.github.com/users/j0nimost/events{/privacy}","received_events_url":"https://api.github.com/users/j0nimost/received_events","type":"User","site_admin":false},"body":"## What does this PR do?\r\nAllows a User to register to StackOverflow-lite API. \r\n\r\n## Description of the task to be completed\r\n- Create User Model\r\n- Create User Views\r\n- Write Tests for Register and Login\r\n\r\n## Any background task\r\nIncludes tests_user \r\n\r\n\r\n## Testing\r\n1. `$ git clone https://github.com/j0nimost/StackOverflow-Lite.git`\r\n2. `$ cd StackOverflow-Lite/API`\r\n3. `$ source .env`\r\n4. `$ pip install -r requirements.txt`\r\n5. `$ pytest test_user.py`\r\n\r\n## Screenshot\r\n![screenshot from 2018-12-23 16-22-00](https://user-images.githubusercontent.com/24381727/50383995-24635f80-06cf-11e9-826f-42a4f6789023.png)\r\n\r\n","created_at":"2018-12-22T17:18:49Z","updated_at":"2018-12-23T14:15:58Z","closed_at":"2018-12-23T14:15:58Z","merged_at":"2018-12-23T14:15:58Z","merge_commit_sha":"7dd23ad82e4cdf90a992ff668effdbc6cfdf937a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/pulls/12/commits","review_comments_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/pulls/12/comments","review_comment_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/issues/12/comments","statuses_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/statuses/47890b7def093baf754fd759dbdc3295082c22e8","head":{"label":"j0nimost:ft-user-can-register-162757626","ref":"ft-user-can-register-162757626","sha":"47890b7def093baf754fd759dbdc3295082c22e8","user":{"login":"j0nimost","id":24381727,"node_id":"MDQ6VXNlcjI0MzgxNzI3","avatar_url":"https://avatars1.githubusercontent.com/u/24381727?v=4","gravatar_id":"","url":"https://api.github.com/users/j0nimost","html_url":"https://github.com/j0nimost","followers_url":"https://api.github.com/users/j0nimost/followers","following_url":"https://api.github.com/users/j0nimost/following{/other_user}","gists_url":"https://api.github.com/users/j0nimost/gists{/gist_id}","starred_url":"https://api.github.com/users/j0nimost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0nimost/subscriptions","organizations_url":"https://api.github.com/users/j0nimost/orgs","repos_url":"https://api.github.com/users/j0nimost/repos","events_url":"https://api.github.com/users/j0nimost/events{/privacy}","received_events_url":"https://api.github.com/users/j0nimost/received_events","type":"User","site_admin":false},"repo":{"id":161476750,"node_id":"MDEwOlJlcG9zaXRvcnkxNjE0NzY3NTA=","name":"StackOverflow-Lite","full_name":"j0nimost/StackOverflow-Lite","private":false,"owner":{"login":"j0nimost","id":24381727,"node_id":"MDQ6VXNlcjI0MzgxNzI3","avatar_url":"https://avatars1.githubusercontent.com/u/24381727?v=4","gravatar_id":"","url":"https://api.github.com/users/j0nimost","html_url":"https://github.com/j0nimost","followers_url":"https://api.github.com/users/j0nimost/followers","following_url":"https://api.github.com/users/j0nimost/following{/other_user}","gists_url":"https://api.github.com/users/j0nimost/gists{/gist_id}","starred_url":"https://api.github.com/users/j0nimost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0nimost/subscriptions","organizations_url":"https://api.github.com/users/j0nimost/orgs","repos_url":"https://api.github.com/users/j0nimost/repos","events_url":"https://api.github.com/users/j0nimost/events{/privacy}","received_events_url":"https://api.github.com/users/j0nimost/received_events","type":"User","site_admin":false},"html_url":"https://github.com/j0nimost/StackOverflow-Lite","description":"This is an Andela Bootcamp Challenge to create a mini-version of StackOverflow","fork":false,"url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite","forks_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/forks","keys_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/teams","hooks_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/hooks","issue_events_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/issues/events{/number}","events_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/events","assignees_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/assignees{/user}","branches_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/branches{/branch}","tags_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/tags","blobs_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/statuses/{sha}","languages_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/languages","stargazers_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/stargazers","contributors_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/contributors","subscribers_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/subscribers","subscription_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/subscription","commits_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/issues/comments{/number}","contents_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/contents/{+path}","compare_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/merges","archive_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/downloads","issues_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/issues{/number}","pulls_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/pulls{/number}","milestones_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/milestones{/number}","notifications_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/labels{/name}","releases_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/releases{/id}","deployments_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/deployments","created_at":"2018-12-12T11:12:20Z","updated_at":"2018-12-13T08:24:36Z","pushed_at":"2018-12-23T14:15:58Z","git_url":"git://github.com/j0nimost/StackOverflow-Lite.git","ssh_url":"git@github.com:j0nimost/StackOverflow-Lite.git","clone_url":"https://github.com/j0nimost/StackOverflow-Lite.git","svn_url":"https://github.com/j0nimost/StackOverflow-Lite","homepage":null,"size":50,"stargazers_count":0,"watchers_count":0,"language":null,"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":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"j0nimost:develop","ref":"develop","sha":"5297b219dacc3d90db1caf2125a9c6e260328edd","user":{"login":"j0nimost","id":24381727,"node_id":"MDQ6VXNlcjI0MzgxNzI3","avatar_url":"https://avatars1.githubusercontent.com/u/24381727?v=4","gravatar_id":"","url":"https://api.github.com/users/j0nimost","html_url":"https://github.com/j0nimost","followers_url":"https://api.github.com/users/j0nimost/followers","following_url":"https://api.github.com/users/j0nimost/following{/other_user}","gists_url":"https://api.github.com/users/j0nimost/gists{/gist_id}","starred_url":"https://api.github.com/users/j0nimost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0nimost/subscriptions","organizations_url":"https://api.github.com/users/j0nimost/orgs","repos_url":"https://api.github.com/users/j0nimost/repos","events_url":"https://api.github.com/users/j0nimost/events{/privacy}","received_events_url":"https://api.github.com/users/j0nimost/received_events","type":"User","site_admin":false},"repo":{"id":161476750,"node_id":"MDEwOlJlcG9zaXRvcnkxNjE0NzY3NTA=","name":"StackOverflow-Lite","full_name":"j0nimost/StackOverflow-Lite","private":false,"owner":{"login":"j0nimost","id":24381727,"node_id":"MDQ6VXNlcjI0MzgxNzI3","avatar_url":"https://avatars1.githubusercontent.com/u/24381727?v=4","gravatar_id":"","url":"https://api.github.com/users/j0nimost","html_url":"https://github.com/j0nimost","followers_url":"https://api.github.com/users/j0nimost/followers","following_url":"https://api.github.com/users/j0nimost/following{/other_user}","gists_url":"https://api.github.com/users/j0nimost/gists{/gist_id}","starred_url":"https://api.github.com/users/j0nimost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0nimost/subscriptions","organizations_url":"https://api.github.com/users/j0nimost/orgs","repos_url":"https://api.github.com/users/j0nimost/repos","events_url":"https://api.github.com/users/j0nimost/events{/privacy}","received_events_url":"https://api.github.com/users/j0nimost/received_events","type":"User","site_admin":false},"html_url":"https://github.com/j0nimost/StackOverflow-Lite","description":"This is an Andela Bootcamp Challenge to create a mini-version of StackOverflow","fork":false,"url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite","forks_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/forks","keys_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/teams","hooks_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/hooks","issue_events_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/issues/events{/number}","events_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/events","assignees_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/assignees{/user}","branches_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/branches{/branch}","tags_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/tags","blobs_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/statuses/{sha}","languages_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/languages","stargazers_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/stargazers","contributors_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/contributors","subscribers_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/subscribers","subscription_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/subscription","commits_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/issues/comments{/number}","contents_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/contents/{+path}","compare_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/merges","archive_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/downloads","issues_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/issues{/number}","pulls_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/pulls{/number}","milestones_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/milestones{/number}","notifications_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/labels{/name}","releases_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/releases{/id}","deployments_url":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/deployments","created_at":"2018-12-12T11:12:20Z","updated_at":"2018-12-13T08:24:36Z","pushed_at":"2018-12-23T14:15:58Z","git_url":"git://github.com/j0nimost/StackOverflow-Lite.git","ssh_url":"git@github.com:j0nimost/StackOverflow-Lite.git","clone_url":"https://github.com/j0nimost/StackOverflow-Lite.git","svn_url":"https://github.com/j0nimost/StackOverflow-Lite","homepage":null,"size":50,"stargazers_count":0,"watchers_count":0,"language":null,"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":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/pulls/12"},"html":{"href":"https://github.com/j0nimost/StackOverflow-Lite/pull/12"},"issue":{"href":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/issues/12"},"comments":{"href":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/j0nimost/StackOverflow-Lite/statuses/47890b7def093baf754fd759dbdc3295082c22e8"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"j0nimost","id":24381727,"node_id":"MDQ6VXNlcjI0MzgxNzI3","avatar_url":"https://avatars1.githubusercontent.com/u/24381727?v=4","gravatar_id":"","url":"https://api.github.com/users/j0nimost","html_url":"https://github.com/j0nimost","followers_url":"https://api.github.com/users/j0nimost/followers","following_url":"https://api.github.com/users/j0nimost/following{/other_user}","gists_url":"https://api.github.com/users/j0nimost/gists{/gist_id}","starred_url":"https://api.github.com/users/j0nimost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0nimost/subscriptions","organizations_url":"https://api.github.com/users/j0nimost/orgs","repos_url":"https://api.github.com/users/j0nimost/repos","events_url":"https://api.github.com/users/j0nimost/events{/privacy}","received_events_url":"https://api.github.com/users/j0nimost/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":16,"additions":201,"deletions":23,"changed_files":12}}
{"actor":{"display_login":"j0nimost"}}