{"action":"closed","number":28,"pull_request":{"url":"https://api.github.com/repos/savage-tadpole/smart-shopping/pulls/28","id":36576313,"html_url":"https://github.com/savage-tadpole/smart-shopping/pull/28","diff_url":"https://github.com/savage-tadpole/smart-shopping/pull/28.diff","patch_url":"https://github.com/savage-tadpole/smart-shopping/pull/28.patch","issue_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/issues/28","number":28,"state":"closed","locked":false,"title":"Feat/database connection","user":{"login":"eshenfield","id":10446059,"avatar_url":"https://avatars.githubusercontent.com/u/10446059?v=3","gravatar_id":"","url":"https://api.github.com/users/eshenfield","html_url":"https://github.com/eshenfield","followers_url":"https://api.github.com/users/eshenfield/followers","following_url":"https://api.github.com/users/eshenfield/following{/other_user}","gists_url":"https://api.github.com/users/eshenfield/gists{/gist_id}","starred_url":"https://api.github.com/users/eshenfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eshenfield/subscriptions","organizations_url":"https://api.github.com/users/eshenfield/orgs","repos_url":"https://api.github.com/users/eshenfield/repos","events_url":"https://api.github.com/users/eshenfield/events{/privacy}","received_events_url":"https://api.github.com/users/eshenfield/received_events","type":"User","site_admin":false},"body":"Set up server routing and connection to database.\r\nTo test it out, run 'grunt shell:mongo' to start the local mongo instance, run grunt serve to start the server, and you can use curl to send a sample get or post request like so:\r\nPOST:\r\ncurl 0.0.0.0:3000/api/item/add -d '{\"name\":\"bread\",\"frequency\":\"2\"}' -H 'Content-Type: application/json'\r\nGET:\r\ncurl 0.0.0.0:3000/list","created_at":"2015-05-31T03:38:28Z","updated_at":"2015-06-01T04:21:23Z","closed_at":"2015-06-01T04:21:23Z","merged_at":"2015-06-01T04:21:23Z","merge_commit_sha":"d6617d875c3b2a298153956c98e8379bffa7ecb4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/pulls/28/commits","review_comments_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/pulls/28/comments","review_comment_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/pulls/comments{/number}","comments_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/issues/28/comments","statuses_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/statuses/05a6323cf174ffd972505916b3ed33694d4f55f7","head":{"label":"eshenfield:feat/serverRoutes","ref":"feat/serverRoutes","sha":"05a6323cf174ffd972505916b3ed33694d4f55f7","user":{"login":"eshenfield","id":10446059,"avatar_url":"https://avatars.githubusercontent.com/u/10446059?v=3","gravatar_id":"","url":"https://api.github.com/users/eshenfield","html_url":"https://github.com/eshenfield","followers_url":"https://api.github.com/users/eshenfield/followers","following_url":"https://api.github.com/users/eshenfield/following{/other_user}","gists_url":"https://api.github.com/users/eshenfield/gists{/gist_id}","starred_url":"https://api.github.com/users/eshenfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eshenfield/subscriptions","organizations_url":"https://api.github.com/users/eshenfield/orgs","repos_url":"https://api.github.com/users/eshenfield/repos","events_url":"https://api.github.com/users/eshenfield/events{/privacy}","received_events_url":"https://api.github.com/users/eshenfield/received_events","type":"User","site_admin":false},"repo":{"id":36455979,"name":"smart-shopping","full_name":"eshenfield/smart-shopping","owner":{"login":"eshenfield","id":10446059,"avatar_url":"https://avatars.githubusercontent.com/u/10446059?v=3","gravatar_id":"","url":"https://api.github.com/users/eshenfield","html_url":"https://github.com/eshenfield","followers_url":"https://api.github.com/users/eshenfield/followers","following_url":"https://api.github.com/users/eshenfield/following{/other_user}","gists_url":"https://api.github.com/users/eshenfield/gists{/gist_id}","starred_url":"https://api.github.com/users/eshenfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eshenfield/subscriptions","organizations_url":"https://api.github.com/users/eshenfield/orgs","repos_url":"https://api.github.com/users/eshenfield/repos","events_url":"https://api.github.com/users/eshenfield/events{/privacy}","received_events_url":"https://api.github.com/users/eshenfield/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eshenfield/smart-shopping","description":"Smart Shopping List","fork":true,"url":"https://api.github.com/repos/eshenfield/smart-shopping","forks_url":"https://api.github.com/repos/eshenfield/smart-shopping/forks","keys_url":"https://api.github.com/repos/eshenfield/smart-shopping/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eshenfield/smart-shopping/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eshenfield/smart-shopping/teams","hooks_url":"https://api.github.com/repos/eshenfield/smart-shopping/hooks","issue_events_url":"https://api.github.com/repos/eshenfield/smart-shopping/issues/events{/number}","events_url":"https://api.github.com/repos/eshenfield/smart-shopping/events","assignees_url":"https://api.github.com/repos/eshenfield/smart-shopping/assignees{/user}","branches_url":"https://api.github.com/repos/eshenfield/smart-shopping/branches{/branch}","tags_url":"https://api.github.com/repos/eshenfield/smart-shopping/tags","blobs_url":"https://api.github.com/repos/eshenfield/smart-shopping/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eshenfield/smart-shopping/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eshenfield/smart-shopping/git/refs{/sha}","trees_url":"https://api.github.com/repos/eshenfield/smart-shopping/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eshenfield/smart-shopping/statuses/{sha}","languages_url":"https://api.github.com/repos/eshenfield/smart-shopping/languages","stargazers_url":"https://api.github.com/repos/eshenfield/smart-shopping/stargazers","contributors_url":"https://api.github.com/repos/eshenfield/smart-shopping/contributors","subscribers_url":"https://api.github.com/repos/eshenfield/smart-shopping/subscribers","subscription_url":"https://api.github.com/repos/eshenfield/smart-shopping/subscription","commits_url":"https://api.github.com/repos/eshenfield/smart-shopping/commits{/sha}","git_commits_url":"https://api.github.com/repos/eshenfield/smart-shopping/git/commits{/sha}","comments_url":"https://api.github.com/repos/eshenfield/smart-shopping/comments{/number}","issue_comment_url":"https://api.github.com/repos/eshenfield/smart-shopping/issues/comments{/number}","contents_url":"https://api.github.com/repos/eshenfield/smart-shopping/contents/{+path}","compare_url":"https://api.github.com/repos/eshenfield/smart-shopping/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eshenfield/smart-shopping/merges","archive_url":"https://api.github.com/repos/eshenfield/smart-shopping/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eshenfield/smart-shopping/downloads","issues_url":"https://api.github.com/repos/eshenfield/smart-shopping/issues{/number}","pulls_url":"https://api.github.com/repos/eshenfield/smart-shopping/pulls{/number}","milestones_url":"https://api.github.com/repos/eshenfield/smart-shopping/milestones{/number}","notifications_url":"https://api.github.com/repos/eshenfield/smart-shopping/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eshenfield/smart-shopping/labels{/name}","releases_url":"https://api.github.com/repos/eshenfield/smart-shopping/releases{/id}","created_at":"2015-05-28T17:52:07Z","updated_at":"2015-05-28T17:48:18Z","pushed_at":"2015-06-01T03:51:31Z","git_url":"git://github.com/eshenfield/smart-shopping.git","ssh_url":"git@github.com:eshenfield/smart-shopping.git","clone_url":"https://github.com/eshenfield/smart-shopping.git","svn_url":"https://github.com/eshenfield/smart-shopping","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"savage-tadpole:development","ref":"development","sha":"492ca397103ac5c6e9077078457ddc5112933167","user":{"login":"savage-tadpole","id":12633967,"avatar_url":"https://avatars.githubusercontent.com/u/12633967?v=3","gravatar_id":"","url":"https://api.github.com/users/savage-tadpole","html_url":"https://github.com/savage-tadpole","followers_url":"https://api.github.com/users/savage-tadpole/followers","following_url":"https://api.github.com/users/savage-tadpole/following{/other_user}","gists_url":"https://api.github.com/users/savage-tadpole/gists{/gist_id}","starred_url":"https://api.github.com/users/savage-tadpole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/savage-tadpole/subscriptions","organizations_url":"https://api.github.com/users/savage-tadpole/orgs","repos_url":"https://api.github.com/users/savage-tadpole/repos","events_url":"https://api.github.com/users/savage-tadpole/events{/privacy}","received_events_url":"https://api.github.com/users/savage-tadpole/received_events","type":"Organization","site_admin":false},"repo":{"id":36455785,"name":"smart-shopping","full_name":"savage-tadpole/smart-shopping","owner":{"login":"savage-tadpole","id":12633967,"avatar_url":"https://avatars.githubusercontent.com/u/12633967?v=3","gravatar_id":"","url":"https://api.github.com/users/savage-tadpole","html_url":"https://github.com/savage-tadpole","followers_url":"https://api.github.com/users/savage-tadpole/followers","following_url":"https://api.github.com/users/savage-tadpole/following{/other_user}","gists_url":"https://api.github.com/users/savage-tadpole/gists{/gist_id}","starred_url":"https://api.github.com/users/savage-tadpole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/savage-tadpole/subscriptions","organizations_url":"https://api.github.com/users/savage-tadpole/orgs","repos_url":"https://api.github.com/users/savage-tadpole/repos","events_url":"https://api.github.com/users/savage-tadpole/events{/privacy}","received_events_url":"https://api.github.com/users/savage-tadpole/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/savage-tadpole/smart-shopping","description":"Smart Shopping List","fork":false,"url":"https://api.github.com/repos/savage-tadpole/smart-shopping","forks_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/forks","keys_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/keys{/key_id}","collaborators_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/teams","hooks_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/hooks","issue_events_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/issues/events{/number}","events_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/events","assignees_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/assignees{/user}","branches_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/branches{/branch}","tags_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/tags","blobs_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/git/refs{/sha}","trees_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/git/trees{/sha}","statuses_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/statuses/{sha}","languages_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/languages","stargazers_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/stargazers","contributors_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/contributors","subscribers_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/subscribers","subscription_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/subscription","commits_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/commits{/sha}","git_commits_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/git/commits{/sha}","comments_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/comments{/number}","issue_comment_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/issues/comments{/number}","contents_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/contents/{+path}","compare_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/compare/{base}...{head}","merges_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/merges","archive_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/downloads","issues_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/issues{/number}","pulls_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/pulls{/number}","milestones_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/milestones{/number}","notifications_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/labels{/name}","releases_url":"https://api.github.com/repos/savage-tadpole/smart-shopping/releases{/id}","created_at":"2015-05-28T17:48:18Z","updated_at":"2015-05-28T17:48:18Z","pushed_at":"2015-06-01T04:21:23Z","git_url":"git://github.com/savage-tadpole/smart-shopping.git","ssh_url":"git@github.com:savage-tadpole/smart-shopping.git","clone_url":"https://github.com/savage-tadpole/smart-shopping.git","svn_url":"https://github.com/savage-tadpole/smart-shopping","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":10,"forks":5,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/savage-tadpole/smart-shopping/pulls/28"},"html":{"href":"https://github.com/savage-tadpole/smart-shopping/pull/28"},"issue":{"href":"https://api.github.com/repos/savage-tadpole/smart-shopping/issues/28"},"comments":{"href":"https://api.github.com/repos/savage-tadpole/smart-shopping/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/savage-tadpole/smart-shopping/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/savage-tadpole/smart-shopping/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/savage-tadpole/smart-shopping/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/savage-tadpole/smart-shopping/statuses/05a6323cf174ffd972505916b3ed33694d4f55f7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"TheRealest","id":2426403,"avatar_url":"https://avatars.githubusercontent.com/u/2426403?v=3","gravatar_id":"","url":"https://api.github.com/users/TheRealest","html_url":"https://github.com/TheRealest","followers_url":"https://api.github.com/users/TheRealest/followers","following_url":"https://api.github.com/users/TheRealest/following{/other_user}","gists_url":"https://api.github.com/users/TheRealest/gists{/gist_id}","starred_url":"https://api.github.com/users/TheRealest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheRealest/subscriptions","organizations_url":"https://api.github.com/users/TheRealest/orgs","repos_url":"https://api.github.com/users/TheRealest/repos","events_url":"https://api.github.com/users/TheRealest/events{/privacy}","received_events_url":"https://api.github.com/users/TheRealest/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":19,"additions":170,"deletions":27,"changed_files":6}}