{"action":"opened","number":18,"pull_request":{"url":"https://api.github.com/repos/mwinel/StackOverflowLite/pulls/18","id":210359614,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMzU5NjE0","html_url":"https://github.com/mwinel/StackOverflowLite/pull/18","diff_url":"https://github.com/mwinel/StackOverflowLite/pull/18.diff","patch_url":"https://github.com/mwinel/StackOverflowLite/pull/18.patch","issue_url":"https://api.github.com/repos/mwinel/StackOverflowLite/issues/18","number":18,"state":"open","locked":false,"title":"Stackoverflow lite refactor","user":{"login":"mwinel","id":14992011,"node_id":"MDQ6VXNlcjE0OTkyMDEx","avatar_url":"https://avatars0.githubusercontent.com/u/14992011?v=4","gravatar_id":"","url":"https://api.github.com/users/mwinel","html_url":"https://github.com/mwinel","followers_url":"https://api.github.com/users/mwinel/followers","following_url":"https://api.github.com/users/mwinel/following{/other_user}","gists_url":"https://api.github.com/users/mwinel/gists{/gist_id}","starred_url":"https://api.github.com/users/mwinel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwinel/subscriptions","organizations_url":"https://api.github.com/users/mwinel/orgs","repos_url":"https://api.github.com/users/mwinel/repos","events_url":"https://api.github.com/users/mwinel/events{/privacy}","received_events_url":"https://api.github.com/users/mwinel/received_events","type":"User","site_admin":false},"body":"This PR refactors the code to;\r\n- try and follow OOP standards with classes in ` models.py `\r\n- display the answer attached to questions ` app/main/resources/views.py `\r\n- corrects the readme requirements installation command to ` pip install -r requirements.txt ` \r\n- removes hard coded data from ` models.py `","created_at":"2018-08-23T07:50:05Z","updated_at":"2018-08-23T07:50:05Z","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/mwinel/StackOverflowLite/pulls/18/commits","review_comments_url":"https://api.github.com/repos/mwinel/StackOverflowLite/pulls/18/comments","review_comment_url":"https://api.github.com/repos/mwinel/StackOverflowLite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mwinel/StackOverflowLite/issues/18/comments","statuses_url":"https://api.github.com/repos/mwinel/StackOverflowLite/statuses/51f90d4f07f51be5c73e7b28b707eb12995cfdf2","head":{"label":"mwinel:stackoverflow-lite-refactor","ref":"stackoverflow-lite-refactor","sha":"51f90d4f07f51be5c73e7b28b707eb12995cfdf2","user":{"login":"mwinel","id":14992011,"node_id":"MDQ6VXNlcjE0OTkyMDEx","avatar_url":"https://avatars0.githubusercontent.com/u/14992011?v=4","gravatar_id":"","url":"https://api.github.com/users/mwinel","html_url":"https://github.com/mwinel","followers_url":"https://api.github.com/users/mwinel/followers","following_url":"https://api.github.com/users/mwinel/following{/other_user}","gists_url":"https://api.github.com/users/mwinel/gists{/gist_id}","starred_url":"https://api.github.com/users/mwinel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwinel/subscriptions","organizations_url":"https://api.github.com/users/mwinel/orgs","repos_url":"https://api.github.com/users/mwinel/repos","events_url":"https://api.github.com/users/mwinel/events{/privacy}","received_events_url":"https://api.github.com/users/mwinel/received_events","type":"User","site_admin":false},"repo":{"id":145510940,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU1MTA5NDA=","name":"StackOverflowLite","full_name":"mwinel/StackOverflowLite","owner":{"login":"mwinel","id":14992011,"node_id":"MDQ6VXNlcjE0OTkyMDEx","avatar_url":"https://avatars0.githubusercontent.com/u/14992011?v=4","gravatar_id":"","url":"https://api.github.com/users/mwinel","html_url":"https://github.com/mwinel","followers_url":"https://api.github.com/users/mwinel/followers","following_url":"https://api.github.com/users/mwinel/following{/other_user}","gists_url":"https://api.github.com/users/mwinel/gists{/gist_id}","starred_url":"https://api.github.com/users/mwinel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwinel/subscriptions","organizations_url":"https://api.github.com/users/mwinel/orgs","repos_url":"https://api.github.com/users/mwinel/repos","events_url":"https://api.github.com/users/mwinel/events{/privacy}","received_events_url":"https://api.github.com/users/mwinel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mwinel/StackOverflowLite","description":"StackOverflow-lite is a platform where people can ask questions and provide answers.","fork":false,"url":"https://api.github.com/repos/mwinel/StackOverflowLite","forks_url":"https://api.github.com/repos/mwinel/StackOverflowLite/forks","keys_url":"https://api.github.com/repos/mwinel/StackOverflowLite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mwinel/StackOverflowLite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mwinel/StackOverflowLite/teams","hooks_url":"https://api.github.com/repos/mwinel/StackOverflowLite/hooks","issue_events_url":"https://api.github.com/repos/mwinel/StackOverflowLite/issues/events{/number}","events_url":"https://api.github.com/repos/mwinel/StackOverflowLite/events","assignees_url":"https://api.github.com/repos/mwinel/StackOverflowLite/assignees{/user}","branches_url":"https://api.github.com/repos/mwinel/StackOverflowLite/branches{/branch}","tags_url":"https://api.github.com/repos/mwinel/StackOverflowLite/tags","blobs_url":"https://api.github.com/repos/mwinel/StackOverflowLite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mwinel/StackOverflowLite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mwinel/StackOverflowLite/git/refs{/sha}","trees_url":"https://api.github.com/repos/mwinel/StackOverflowLite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mwinel/StackOverflowLite/statuses/{sha}","languages_url":"https://api.github.com/repos/mwinel/StackOverflowLite/languages","stargazers_url":"https://api.github.com/repos/mwinel/StackOverflowLite/stargazers","contributors_url":"https://api.github.com/repos/mwinel/StackOverflowLite/contributors","subscribers_url":"https://api.github.com/repos/mwinel/StackOverflowLite/subscribers","subscription_url":"https://api.github.com/repos/mwinel/StackOverflowLite/subscription","commits_url":"https://api.github.com/repos/mwinel/StackOverflowLite/commits{/sha}","git_commits_url":"https://api.github.com/repos/mwinel/StackOverflowLite/git/commits{/sha}","comments_url":"https://api.github.com/repos/mwinel/StackOverflowLite/comments{/number}","issue_comment_url":"https://api.github.com/repos/mwinel/StackOverflowLite/issues/comments{/number}","contents_url":"https://api.github.com/repos/mwinel/StackOverflowLite/contents/{+path}","compare_url":"https://api.github.com/repos/mwinel/StackOverflowLite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mwinel/StackOverflowLite/merges","archive_url":"https://api.github.com/repos/mwinel/StackOverflowLite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mwinel/StackOverflowLite/downloads","issues_url":"https://api.github.com/repos/mwinel/StackOverflowLite/issues{/number}","pulls_url":"https://api.github.com/repos/mwinel/StackOverflowLite/pulls{/number}","milestones_url":"https://api.github.com/repos/mwinel/StackOverflowLite/milestones{/number}","notifications_url":"https://api.github.com/repos/mwinel/StackOverflowLite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mwinel/StackOverflowLite/labels{/name}","releases_url":"https://api.github.com/repos/mwinel/StackOverflowLite/releases{/id}","deployments_url":"https://api.github.com/repos/mwinel/StackOverflowLite/deployments","created_at":"2018-08-21T05:26:16Z","updated_at":"2018-08-23T07:38:31Z","pushed_at":"2018-08-23T07:42:13Z","git_url":"git://github.com/mwinel/StackOverflowLite.git","ssh_url":"git@github.com:mwinel/StackOverflowLite.git","clone_url":"https://github.com/mwinel/StackOverflowLite.git","svn_url":"https://github.com/mwinel/StackOverflowLite","homepage":null,"size":35,"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":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"mwinel:develop","ref":"develop","sha":"8b2946cfd17a4132b415b0702b43f4028f11a2cf","user":{"login":"mwinel","id":14992011,"node_id":"MDQ6VXNlcjE0OTkyMDEx","avatar_url":"https://avatars0.githubusercontent.com/u/14992011?v=4","gravatar_id":"","url":"https://api.github.com/users/mwinel","html_url":"https://github.com/mwinel","followers_url":"https://api.github.com/users/mwinel/followers","following_url":"https://api.github.com/users/mwinel/following{/other_user}","gists_url":"https://api.github.com/users/mwinel/gists{/gist_id}","starred_url":"https://api.github.com/users/mwinel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwinel/subscriptions","organizations_url":"https://api.github.com/users/mwinel/orgs","repos_url":"https://api.github.com/users/mwinel/repos","events_url":"https://api.github.com/users/mwinel/events{/privacy}","received_events_url":"https://api.github.com/users/mwinel/received_events","type":"User","site_admin":false},"repo":{"id":145510940,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU1MTA5NDA=","name":"StackOverflowLite","full_name":"mwinel/StackOverflowLite","owner":{"login":"mwinel","id":14992011,"node_id":"MDQ6VXNlcjE0OTkyMDEx","avatar_url":"https://avatars0.githubusercontent.com/u/14992011?v=4","gravatar_id":"","url":"https://api.github.com/users/mwinel","html_url":"https://github.com/mwinel","followers_url":"https://api.github.com/users/mwinel/followers","following_url":"https://api.github.com/users/mwinel/following{/other_user}","gists_url":"https://api.github.com/users/mwinel/gists{/gist_id}","starred_url":"https://api.github.com/users/mwinel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwinel/subscriptions","organizations_url":"https://api.github.com/users/mwinel/orgs","repos_url":"https://api.github.com/users/mwinel/repos","events_url":"https://api.github.com/users/mwinel/events{/privacy}","received_events_url":"https://api.github.com/users/mwinel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mwinel/StackOverflowLite","description":"StackOverflow-lite is a platform where people can ask questions and provide answers.","fork":false,"url":"https://api.github.com/repos/mwinel/StackOverflowLite","forks_url":"https://api.github.com/repos/mwinel/StackOverflowLite/forks","keys_url":"https://api.github.com/repos/mwinel/StackOverflowLite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mwinel/StackOverflowLite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mwinel/StackOverflowLite/teams","hooks_url":"https://api.github.com/repos/mwinel/StackOverflowLite/hooks","issue_events_url":"https://api.github.com/repos/mwinel/StackOverflowLite/issues/events{/number}","events_url":"https://api.github.com/repos/mwinel/StackOverflowLite/events","assignees_url":"https://api.github.com/repos/mwinel/StackOverflowLite/assignees{/user}","branches_url":"https://api.github.com/repos/mwinel/StackOverflowLite/branches{/branch}","tags_url":"https://api.github.com/repos/mwinel/StackOverflowLite/tags","blobs_url":"https://api.github.com/repos/mwinel/StackOverflowLite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mwinel/StackOverflowLite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mwinel/StackOverflowLite/git/refs{/sha}","trees_url":"https://api.github.com/repos/mwinel/StackOverflowLite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mwinel/StackOverflowLite/statuses/{sha}","languages_url":"https://api.github.com/repos/mwinel/StackOverflowLite/languages","stargazers_url":"https://api.github.com/repos/mwinel/StackOverflowLite/stargazers","contributors_url":"https://api.github.com/repos/mwinel/StackOverflowLite/contributors","subscribers_url":"https://api.github.com/repos/mwinel/StackOverflowLite/subscribers","subscription_url":"https://api.github.com/repos/mwinel/StackOverflowLite/subscription","commits_url":"https://api.github.com/repos/mwinel/StackOverflowLite/commits{/sha}","git_commits_url":"https://api.github.com/repos/mwinel/StackOverflowLite/git/commits{/sha}","comments_url":"https://api.github.com/repos/mwinel/StackOverflowLite/comments{/number}","issue_comment_url":"https://api.github.com/repos/mwinel/StackOverflowLite/issues/comments{/number}","contents_url":"https://api.github.com/repos/mwinel/StackOverflowLite/contents/{+path}","compare_url":"https://api.github.com/repos/mwinel/StackOverflowLite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mwinel/StackOverflowLite/merges","archive_url":"https://api.github.com/repos/mwinel/StackOverflowLite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mwinel/StackOverflowLite/downloads","issues_url":"https://api.github.com/repos/mwinel/StackOverflowLite/issues{/number}","pulls_url":"https://api.github.com/repos/mwinel/StackOverflowLite/pulls{/number}","milestones_url":"https://api.github.com/repos/mwinel/StackOverflowLite/milestones{/number}","notifications_url":"https://api.github.com/repos/mwinel/StackOverflowLite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mwinel/StackOverflowLite/labels{/name}","releases_url":"https://api.github.com/repos/mwinel/StackOverflowLite/releases{/id}","deployments_url":"https://api.github.com/repos/mwinel/StackOverflowLite/deployments","created_at":"2018-08-21T05:26:16Z","updated_at":"2018-08-23T07:38:31Z","pushed_at":"2018-08-23T07:42:13Z","git_url":"git://github.com/mwinel/StackOverflowLite.git","ssh_url":"git@github.com:mwinel/StackOverflowLite.git","clone_url":"https://github.com/mwinel/StackOverflowLite.git","svn_url":"https://github.com/mwinel/StackOverflowLite","homepage":null,"size":35,"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":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mwinel/StackOverflowLite/pulls/18"},"html":{"href":"https://github.com/mwinel/StackOverflowLite/pull/18"},"issue":{"href":"https://api.github.com/repos/mwinel/StackOverflowLite/issues/18"},"comments":{"href":"https://api.github.com/repos/mwinel/StackOverflowLite/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/mwinel/StackOverflowLite/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/mwinel/StackOverflowLite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mwinel/StackOverflowLite/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/mwinel/StackOverflowLite/statuses/51f90d4f07f51be5c73e7b28b707eb12995cfdf2"}},"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":8,"additions":182,"deletions":174,"changed_files":11}}
{"actor":{"display_login":"mwinel"}}