{"action":"opened","number":15,"pull_request":{"url":"https://api.github.com/repos/kasaromi/healthyhabits/pulls/15","id":66487927,"html_url":"https://github.com/kasaromi/healthyhabits/pull/15","diff_url":"https://github.com/kasaromi/healthyhabits/pull/15.diff","patch_url":"https://github.com/kasaromi/healthyhabits/pull/15.patch","issue_url":"https://api.github.com/repos/kasaromi/healthyhabits/issues/15","number":15,"state":"open","locked":false,"title":"Server setup removed the routes folder","user":{"login":"shouston3","id":15983736,"avatar_url":"https://avatars.githubusercontent.com/u/15983736?v=3","gravatar_id":"","url":"https://api.github.com/users/shouston3","html_url":"https://github.com/shouston3","followers_url":"https://api.github.com/users/shouston3/followers","following_url":"https://api.github.com/users/shouston3/following{/other_user}","gists_url":"https://api.github.com/users/shouston3/gists{/gist_id}","starred_url":"https://api.github.com/users/shouston3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shouston3/subscriptions","organizations_url":"https://api.github.com/users/shouston3/orgs","repos_url":"https://api.github.com/users/shouston3/repos","events_url":"https://api.github.com/users/shouston3/events{/privacy}","received_events_url":"https://api.github.com/users/shouston3/received_events","type":"User","site_admin":false},"body":"refactored the server to use a helper function where you can see what each route does all in the same place instead of having a route folder where you have to look at each file to see how the what the route does, also with a route folder, there is a lot of repeated code, but with a helper function there isn't.","created_at":"2016-04-14T13:55:22Z","updated_at":"2016-04-14T13:55:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kasaromi/healthyhabits/pulls/15/commits","review_comments_url":"https://api.github.com/repos/kasaromi/healthyhabits/pulls/15/comments","review_comment_url":"https://api.github.com/repos/kasaromi/healthyhabits/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kasaromi/healthyhabits/issues/15/comments","statuses_url":"https://api.github.com/repos/kasaromi/healthyhabits/statuses/d7e360f345667482ac15e0c947b1157b854885fa","head":{"label":"kasaromi:serverSetup","ref":"serverSetup","sha":"d7e360f345667482ac15e0c947b1157b854885fa","user":{"login":"kasaromi","id":17299704,"avatar_url":"https://avatars.githubusercontent.com/u/17299704?v=3","gravatar_id":"","url":"https://api.github.com/users/kasaromi","html_url":"https://github.com/kasaromi","followers_url":"https://api.github.com/users/kasaromi/followers","following_url":"https://api.github.com/users/kasaromi/following{/other_user}","gists_url":"https://api.github.com/users/kasaromi/gists{/gist_id}","starred_url":"https://api.github.com/users/kasaromi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasaromi/subscriptions","organizations_url":"https://api.github.com/users/kasaromi/orgs","repos_url":"https://api.github.com/users/kasaromi/repos","events_url":"https://api.github.com/users/kasaromi/events{/privacy}","received_events_url":"https://api.github.com/users/kasaromi/received_events","type":"Organization","site_admin":false},"repo":{"id":56164900,"name":"healthyhabits","full_name":"kasaromi/healthyhabits","owner":{"login":"kasaromi","id":17299704,"avatar_url":"https://avatars.githubusercontent.com/u/17299704?v=3","gravatar_id":"","url":"https://api.github.com/users/kasaromi","html_url":"https://github.com/kasaromi","followers_url":"https://api.github.com/users/kasaromi/followers","following_url":"https://api.github.com/users/kasaromi/following{/other_user}","gists_url":"https://api.github.com/users/kasaromi/gists{/gist_id}","starred_url":"https://api.github.com/users/kasaromi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasaromi/subscriptions","organizations_url":"https://api.github.com/users/kasaromi/orgs","repos_url":"https://api.github.com/users/kasaromi/repos","events_url":"https://api.github.com/users/kasaromi/events{/privacy}","received_events_url":"https://api.github.com/users/kasaromi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kasaromi/healthyhabits","description":"","fork":false,"url":"https://api.github.com/repos/kasaromi/healthyhabits","forks_url":"https://api.github.com/repos/kasaromi/healthyhabits/forks","keys_url":"https://api.github.com/repos/kasaromi/healthyhabits/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kasaromi/healthyhabits/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kasaromi/healthyhabits/teams","hooks_url":"https://api.github.com/repos/kasaromi/healthyhabits/hooks","issue_events_url":"https://api.github.com/repos/kasaromi/healthyhabits/issues/events{/number}","events_url":"https://api.github.com/repos/kasaromi/healthyhabits/events","assignees_url":"https://api.github.com/repos/kasaromi/healthyhabits/assignees{/user}","branches_url":"https://api.github.com/repos/kasaromi/healthyhabits/branches{/branch}","tags_url":"https://api.github.com/repos/kasaromi/healthyhabits/tags","blobs_url":"https://api.github.com/repos/kasaromi/healthyhabits/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kasaromi/healthyhabits/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kasaromi/healthyhabits/git/refs{/sha}","trees_url":"https://api.github.com/repos/kasaromi/healthyhabits/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kasaromi/healthyhabits/statuses/{sha}","languages_url":"https://api.github.com/repos/kasaromi/healthyhabits/languages","stargazers_url":"https://api.github.com/repos/kasaromi/healthyhabits/stargazers","contributors_url":"https://api.github.com/repos/kasaromi/healthyhabits/contributors","subscribers_url":"https://api.github.com/repos/kasaromi/healthyhabits/subscribers","subscription_url":"https://api.github.com/repos/kasaromi/healthyhabits/subscription","commits_url":"https://api.github.com/repos/kasaromi/healthyhabits/commits{/sha}","git_commits_url":"https://api.github.com/repos/kasaromi/healthyhabits/git/commits{/sha}","comments_url":"https://api.github.com/repos/kasaromi/healthyhabits/comments{/number}","issue_comment_url":"https://api.github.com/repos/kasaromi/healthyhabits/issues/comments{/number}","contents_url":"https://api.github.com/repos/kasaromi/healthyhabits/contents/{+path}","compare_url":"https://api.github.com/repos/kasaromi/healthyhabits/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kasaromi/healthyhabits/merges","archive_url":"https://api.github.com/repos/kasaromi/healthyhabits/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kasaromi/healthyhabits/downloads","issues_url":"https://api.github.com/repos/kasaromi/healthyhabits/issues{/number}","pulls_url":"https://api.github.com/repos/kasaromi/healthyhabits/pulls{/number}","milestones_url":"https://api.github.com/repos/kasaromi/healthyhabits/milestones{/number}","notifications_url":"https://api.github.com/repos/kasaromi/healthyhabits/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kasaromi/healthyhabits/labels{/name}","releases_url":"https://api.github.com/repos/kasaromi/healthyhabits/releases{/id}","deployments_url":"https://api.github.com/repos/kasaromi/healthyhabits/deployments","created_at":"2016-04-13T15:42:07Z","updated_at":"2016-04-14T09:51:58Z","pushed_at":"2016-04-14T13:54:06Z","git_url":"git://github.com/kasaromi/healthyhabits.git","ssh_url":"git@github.com:kasaromi/healthyhabits.git","clone_url":"https://github.com/kasaromi/healthyhabits.git","svn_url":"https://github.com/kasaromi/healthyhabits","homepage":null,"size":61,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"kasaromi:master","ref":"master","sha":"62bc4f33d1e02e459505e5592a9a5f9db3ed1abc","user":{"login":"kasaromi","id":17299704,"avatar_url":"https://avatars.githubusercontent.com/u/17299704?v=3","gravatar_id":"","url":"https://api.github.com/users/kasaromi","html_url":"https://github.com/kasaromi","followers_url":"https://api.github.com/users/kasaromi/followers","following_url":"https://api.github.com/users/kasaromi/following{/other_user}","gists_url":"https://api.github.com/users/kasaromi/gists{/gist_id}","starred_url":"https://api.github.com/users/kasaromi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasaromi/subscriptions","organizations_url":"https://api.github.com/users/kasaromi/orgs","repos_url":"https://api.github.com/users/kasaromi/repos","events_url":"https://api.github.com/users/kasaromi/events{/privacy}","received_events_url":"https://api.github.com/users/kasaromi/received_events","type":"Organization","site_admin":false},"repo":{"id":56164900,"name":"healthyhabits","full_name":"kasaromi/healthyhabits","owner":{"login":"kasaromi","id":17299704,"avatar_url":"https://avatars.githubusercontent.com/u/17299704?v=3","gravatar_id":"","url":"https://api.github.com/users/kasaromi","html_url":"https://github.com/kasaromi","followers_url":"https://api.github.com/users/kasaromi/followers","following_url":"https://api.github.com/users/kasaromi/following{/other_user}","gists_url":"https://api.github.com/users/kasaromi/gists{/gist_id}","starred_url":"https://api.github.com/users/kasaromi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasaromi/subscriptions","organizations_url":"https://api.github.com/users/kasaromi/orgs","repos_url":"https://api.github.com/users/kasaromi/repos","events_url":"https://api.github.com/users/kasaromi/events{/privacy}","received_events_url":"https://api.github.com/users/kasaromi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kasaromi/healthyhabits","description":"","fork":false,"url":"https://api.github.com/repos/kasaromi/healthyhabits","forks_url":"https://api.github.com/repos/kasaromi/healthyhabits/forks","keys_url":"https://api.github.com/repos/kasaromi/healthyhabits/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kasaromi/healthyhabits/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kasaromi/healthyhabits/teams","hooks_url":"https://api.github.com/repos/kasaromi/healthyhabits/hooks","issue_events_url":"https://api.github.com/repos/kasaromi/healthyhabits/issues/events{/number}","events_url":"https://api.github.com/repos/kasaromi/healthyhabits/events","assignees_url":"https://api.github.com/repos/kasaromi/healthyhabits/assignees{/user}","branches_url":"https://api.github.com/repos/kasaromi/healthyhabits/branches{/branch}","tags_url":"https://api.github.com/repos/kasaromi/healthyhabits/tags","blobs_url":"https://api.github.com/repos/kasaromi/healthyhabits/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kasaromi/healthyhabits/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kasaromi/healthyhabits/git/refs{/sha}","trees_url":"https://api.github.com/repos/kasaromi/healthyhabits/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kasaromi/healthyhabits/statuses/{sha}","languages_url":"https://api.github.com/repos/kasaromi/healthyhabits/languages","stargazers_url":"https://api.github.com/repos/kasaromi/healthyhabits/stargazers","contributors_url":"https://api.github.com/repos/kasaromi/healthyhabits/contributors","subscribers_url":"https://api.github.com/repos/kasaromi/healthyhabits/subscribers","subscription_url":"https://api.github.com/repos/kasaromi/healthyhabits/subscription","commits_url":"https://api.github.com/repos/kasaromi/healthyhabits/commits{/sha}","git_commits_url":"https://api.github.com/repos/kasaromi/healthyhabits/git/commits{/sha}","comments_url":"https://api.github.com/repos/kasaromi/healthyhabits/comments{/number}","issue_comment_url":"https://api.github.com/repos/kasaromi/healthyhabits/issues/comments{/number}","contents_url":"https://api.github.com/repos/kasaromi/healthyhabits/contents/{+path}","compare_url":"https://api.github.com/repos/kasaromi/healthyhabits/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kasaromi/healthyhabits/merges","archive_url":"https://api.github.com/repos/kasaromi/healthyhabits/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kasaromi/healthyhabits/downloads","issues_url":"https://api.github.com/repos/kasaromi/healthyhabits/issues{/number}","pulls_url":"https://api.github.com/repos/kasaromi/healthyhabits/pulls{/number}","milestones_url":"https://api.github.com/repos/kasaromi/healthyhabits/milestones{/number}","notifications_url":"https://api.github.com/repos/kasaromi/healthyhabits/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kasaromi/healthyhabits/labels{/name}","releases_url":"https://api.github.com/repos/kasaromi/healthyhabits/releases{/id}","deployments_url":"https://api.github.com/repos/kasaromi/healthyhabits/deployments","created_at":"2016-04-13T15:42:07Z","updated_at":"2016-04-14T09:51:58Z","pushed_at":"2016-04-14T13:54:06Z","git_url":"git://github.com/kasaromi/healthyhabits.git","ssh_url":"git@github.com:kasaromi/healthyhabits.git","clone_url":"https://github.com/kasaromi/healthyhabits.git","svn_url":"https://github.com/kasaromi/healthyhabits","homepage":null,"size":61,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kasaromi/healthyhabits/pulls/15"},"html":{"href":"https://github.com/kasaromi/healthyhabits/pull/15"},"issue":{"href":"https://api.github.com/repos/kasaromi/healthyhabits/issues/15"},"comments":{"href":"https://api.github.com/repos/kasaromi/healthyhabits/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/kasaromi/healthyhabits/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/kasaromi/healthyhabits/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kasaromi/healthyhabits/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/kasaromi/healthyhabits/statuses/d7e360f345667482ac15e0c947b1157b854885fa"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":32,"deletions":45,"changed_files":9}}