{"action":"closed","number":60,"pull_request":{"url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/pulls/60","id":183098087,"html_url":"https://github.com/Sheepish-Squirrels/bangazon-sprint-3/pull/60","diff_url":"https://github.com/Sheepish-Squirrels/bangazon-sprint-3/pull/60.diff","patch_url":"https://github.com/Sheepish-Squirrels/bangazon-sprint-3/pull/60.patch","issue_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/issues/60","number":60,"state":"closed","locked":false,"title":"Bg prods get all get one","user":{"login":"BrandonAllenGreen","id":29526928,"avatar_url":"https://avatars2.githubusercontent.com/u/29526928?v=4","gravatar_id":"","url":"https://api.github.com/users/BrandonAllenGreen","html_url":"https://github.com/BrandonAllenGreen","followers_url":"https://api.github.com/users/BrandonAllenGreen/followers","following_url":"https://api.github.com/users/BrandonAllenGreen/following{/other_user}","gists_url":"https://api.github.com/users/BrandonAllenGreen/gists{/gist_id}","starred_url":"https://api.github.com/users/BrandonAllenGreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrandonAllenGreen/subscriptions","organizations_url":"https://api.github.com/users/BrandonAllenGreen/orgs","repos_url":"https://api.github.com/users/BrandonAllenGreen/repos","events_url":"https://api.github.com/users/BrandonAllenGreen/events{/privacy}","received_events_url":"https://api.github.com/users/BrandonAllenGreen/received_events","type":"User","site_admin":false},"body":"# Description\r\n\r\n- created route and controller for getting ALL products\r\n- created route and controller for getting ONE product by its ID\r\n\r\nFixes # (issue)\r\n#42 \r\n#44 \r\n\r\n## Type of change\r\n\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [x] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)\r\n- [ ] This change requires a documentation update\r\n\r\n# Steps to Test\r\n\r\n1.  start server via npm start in command line\r\n2. navigate browser to localhost:8080/products to view list of all product objects\r\n3. navigate browser to localhost:8080/products/(id) to view a product by its ID\r\n\r\n# Expected Result After Test\r\n- see list of all products in browser\r\n- see one product in browser by its ID\r\n\r\n# Checklist:\r\n\r\n- [x] My code follows the style guidelines of this project\r\n- [x] I have performed a self-review of my own code\r\n- [x] I have commented my code, particularly in hard-to-understand areas\r\n- [ ] I have made corresponding changes to the documentation\r\n- [ ] My changes generate no new warnings\r\n- [ ] I have added tests that prove my fix is effective or that my feature works\r\n- [ ] New and existing unit tests pass locally with my changes\r\n- [ ] Any dependent changes have been merged and published in downstream modules","created_at":"2018-04-20T15:34:16Z","updated_at":"2018-04-20T16:52:42Z","closed_at":"2018-04-20T16:52:42Z","merged_at":"2018-04-20T16:52:42Z","merge_commit_sha":"a574eb6c1980ee82c0c40d68597ac369f93b147a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/pulls/60/commits","review_comments_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/pulls/60/comments","review_comment_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/issues/60/comments","statuses_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/statuses/c56b013dde0f91ccaedec4d35e490e1bf9564fa3","head":{"label":"Sheepish-Squirrels:bg-prods-getALL-getOne","ref":"bg-prods-getALL-getOne","sha":"c56b013dde0f91ccaedec4d35e490e1bf9564fa3","user":{"login":"Sheepish-Squirrels","id":37586326,"avatar_url":"https://avatars2.githubusercontent.com/u/37586326?v=4","gravatar_id":"","url":"https://api.github.com/users/Sheepish-Squirrels","html_url":"https://github.com/Sheepish-Squirrels","followers_url":"https://api.github.com/users/Sheepish-Squirrels/followers","following_url":"https://api.github.com/users/Sheepish-Squirrels/following{/other_user}","gists_url":"https://api.github.com/users/Sheepish-Squirrels/gists{/gist_id}","starred_url":"https://api.github.com/users/Sheepish-Squirrels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sheepish-Squirrels/subscriptions","organizations_url":"https://api.github.com/users/Sheepish-Squirrels/orgs","repos_url":"https://api.github.com/users/Sheepish-Squirrels/repos","events_url":"https://api.github.com/users/Sheepish-Squirrels/events{/privacy}","received_events_url":"https://api.github.com/users/Sheepish-Squirrels/received_events","type":"Organization","site_admin":false},"repo":{"id":130073799,"name":"bangazon-sprint-3","full_name":"Sheepish-Squirrels/bangazon-sprint-3","owner":{"login":"Sheepish-Squirrels","id":37586326,"avatar_url":"https://avatars2.githubusercontent.com/u/37586326?v=4","gravatar_id":"","url":"https://api.github.com/users/Sheepish-Squirrels","html_url":"https://github.com/Sheepish-Squirrels","followers_url":"https://api.github.com/users/Sheepish-Squirrels/followers","following_url":"https://api.github.com/users/Sheepish-Squirrels/following{/other_user}","gists_url":"https://api.github.com/users/Sheepish-Squirrels/gists{/gist_id}","starred_url":"https://api.github.com/users/Sheepish-Squirrels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sheepish-Squirrels/subscriptions","organizations_url":"https://api.github.com/users/Sheepish-Squirrels/orgs","repos_url":"https://api.github.com/users/Sheepish-Squirrels/repos","events_url":"https://api.github.com/users/Sheepish-Squirrels/events{/privacy}","received_events_url":"https://api.github.com/users/Sheepish-Squirrels/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sheepish-Squirrels/bangazon-sprint-3","description":null,"fork":false,"url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3","forks_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/forks","keys_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/teams","hooks_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/hooks","issue_events_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/issues/events{/number}","events_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/events","assignees_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/assignees{/user}","branches_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/branches{/branch}","tags_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/tags","blobs_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/statuses/{sha}","languages_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/languages","stargazers_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/stargazers","contributors_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/contributors","subscribers_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/subscribers","subscription_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/subscription","commits_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/contents/{+path}","compare_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/merges","archive_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/downloads","issues_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/issues{/number}","pulls_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/pulls{/number}","milestones_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/milestones{/number}","notifications_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/labels{/name}","releases_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/releases{/id}","deployments_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/deployments","created_at":"2018-04-18T14:20:00Z","updated_at":"2018-04-20T14:29:45Z","pushed_at":"2018-04-20T16:52:42Z","git_url":"git://github.com/Sheepish-Squirrels/bangazon-sprint-3.git","ssh_url":"git@github.com:Sheepish-Squirrels/bangazon-sprint-3.git","clone_url":"https://github.com/Sheepish-Squirrels/bangazon-sprint-3.git","svn_url":"https://github.com/Sheepish-Squirrels/bangazon-sprint-3","homepage":null,"size":178,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":36,"license":null,"forks":0,"open_issues":36,"watchers":0,"default_branch":"master"}},"base":{"label":"Sheepish-Squirrels:master","ref":"master","sha":"6798f0bebdad6657c1acdf35145f6f3d2c09c1c6","user":{"login":"Sheepish-Squirrels","id":37586326,"avatar_url":"https://avatars2.githubusercontent.com/u/37586326?v=4","gravatar_id":"","url":"https://api.github.com/users/Sheepish-Squirrels","html_url":"https://github.com/Sheepish-Squirrels","followers_url":"https://api.github.com/users/Sheepish-Squirrels/followers","following_url":"https://api.github.com/users/Sheepish-Squirrels/following{/other_user}","gists_url":"https://api.github.com/users/Sheepish-Squirrels/gists{/gist_id}","starred_url":"https://api.github.com/users/Sheepish-Squirrels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sheepish-Squirrels/subscriptions","organizations_url":"https://api.github.com/users/Sheepish-Squirrels/orgs","repos_url":"https://api.github.com/users/Sheepish-Squirrels/repos","events_url":"https://api.github.com/users/Sheepish-Squirrels/events{/privacy}","received_events_url":"https://api.github.com/users/Sheepish-Squirrels/received_events","type":"Organization","site_admin":false},"repo":{"id":130073799,"name":"bangazon-sprint-3","full_name":"Sheepish-Squirrels/bangazon-sprint-3","owner":{"login":"Sheepish-Squirrels","id":37586326,"avatar_url":"https://avatars2.githubusercontent.com/u/37586326?v=4","gravatar_id":"","url":"https://api.github.com/users/Sheepish-Squirrels","html_url":"https://github.com/Sheepish-Squirrels","followers_url":"https://api.github.com/users/Sheepish-Squirrels/followers","following_url":"https://api.github.com/users/Sheepish-Squirrels/following{/other_user}","gists_url":"https://api.github.com/users/Sheepish-Squirrels/gists{/gist_id}","starred_url":"https://api.github.com/users/Sheepish-Squirrels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sheepish-Squirrels/subscriptions","organizations_url":"https://api.github.com/users/Sheepish-Squirrels/orgs","repos_url":"https://api.github.com/users/Sheepish-Squirrels/repos","events_url":"https://api.github.com/users/Sheepish-Squirrels/events{/privacy}","received_events_url":"https://api.github.com/users/Sheepish-Squirrels/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sheepish-Squirrels/bangazon-sprint-3","description":null,"fork":false,"url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3","forks_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/forks","keys_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/teams","hooks_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/hooks","issue_events_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/issues/events{/number}","events_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/events","assignees_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/assignees{/user}","branches_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/branches{/branch}","tags_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/tags","blobs_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/statuses/{sha}","languages_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/languages","stargazers_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/stargazers","contributors_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/contributors","subscribers_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/subscribers","subscription_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/subscription","commits_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/contents/{+path}","compare_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/merges","archive_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/downloads","issues_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/issues{/number}","pulls_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/pulls{/number}","milestones_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/milestones{/number}","notifications_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/labels{/name}","releases_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/releases{/id}","deployments_url":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/deployments","created_at":"2018-04-18T14:20:00Z","updated_at":"2018-04-20T14:29:45Z","pushed_at":"2018-04-20T16:52:42Z","git_url":"git://github.com/Sheepish-Squirrels/bangazon-sprint-3.git","ssh_url":"git@github.com:Sheepish-Squirrels/bangazon-sprint-3.git","clone_url":"https://github.com/Sheepish-Squirrels/bangazon-sprint-3.git","svn_url":"https://github.com/Sheepish-Squirrels/bangazon-sprint-3","homepage":null,"size":178,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":36,"license":null,"forks":0,"open_issues":36,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/pulls/60"},"html":{"href":"https://github.com/Sheepish-Squirrels/bangazon-sprint-3/pull/60"},"issue":{"href":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/issues/60"},"comments":{"href":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/Sheepish-Squirrels/bangazon-sprint-3/statuses/c56b013dde0f91ccaedec4d35e490e1bf9564fa3"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"BrandonAllenGreen","id":29526928,"avatar_url":"https://avatars2.githubusercontent.com/u/29526928?v=4","gravatar_id":"","url":"https://api.github.com/users/BrandonAllenGreen","html_url":"https://github.com/BrandonAllenGreen","followers_url":"https://api.github.com/users/BrandonAllenGreen/followers","following_url":"https://api.github.com/users/BrandonAllenGreen/following{/other_user}","gists_url":"https://api.github.com/users/BrandonAllenGreen/gists{/gist_id}","starred_url":"https://api.github.com/users/BrandonAllenGreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrandonAllenGreen/subscriptions","organizations_url":"https://api.github.com/users/BrandonAllenGreen/orgs","repos_url":"https://api.github.com/users/BrandonAllenGreen/repos","events_url":"https://api.github.com/users/BrandonAllenGreen/events{/privacy}","received_events_url":"https://api.github.com/users/BrandonAllenGreen/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":43,"deletions":3,"changed_files":3}}
{"actor":{"display_login":"BrandonAllenGreen"}}