{"action":"opened","number":50,"pull_request":{"url":"https://api.github.com/repos/dwyl/tudo/pulls/50","id":40488486,"html_url":"https://github.com/dwyl/tudo/pull/50","diff_url":"https://github.com/dwyl/tudo/pull/50.diff","patch_url":"https://github.com/dwyl/tudo/pull/50.patch","issue_url":"https://api.github.com/repos/dwyl/tudo/issues/50","number":50,"state":"open","locked":false,"title":"Database struct","user":{"login":"jrans","id":12045918,"avatar_url":"https://avatars.githubusercontent.com/u/12045918?v=3","gravatar_id":"","url":"https://api.github.com/users/jrans","html_url":"https://github.com/jrans","followers_url":"https://api.github.com/users/jrans/followers","following_url":"https://api.github.com/users/jrans/following{/other_user}","gists_url":"https://api.github.com/users/jrans/gists{/gist_id}","starred_url":"https://api.github.com/users/jrans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrans/subscriptions","organizations_url":"https://api.github.com/users/jrans/orgs","repos_url":"https://api.github.com/users/jrans/repos","events_url":"https://api.github.com/users/jrans/events{/privacy}","received_events_url":"https://api.github.com/users/jrans/received_events","type":"User","site_admin":false},"body":"Function to create a redis client.\r\nDatabase handlers:\r\n* add issue\r\n* delete issue by id\r\n\r\nUpdated the env_sample.json. All must change theirs, notified to this via gitter. \r\n\r\nTo come on next PR:\r\n* More DB handlers\r\n* Update the read me to explain our data structure\r\n\r\nWould like more input from others on database needs as moving under assumptions right now.\r\n\r\nBest Wishes,\r\n\r\nJack, Daniel and coke.\r\n\r\n ","created_at":"2015-07-21T18:23:38Z","updated_at":"2015-07-21T18:23:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dwyl/tudo/pulls/50/commits","review_comments_url":"https://api.github.com/repos/dwyl/tudo/pulls/50/comments","review_comment_url":"https://api.github.com/repos/dwyl/tudo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dwyl/tudo/issues/50/comments","statuses_url":"https://api.github.com/repos/dwyl/tudo/statuses/30989d19bc43321199623676a51db60af155b5ac","head":{"label":"dwyl:database-struct","ref":"database-struct","sha":"30989d19bc43321199623676a51db60af155b5ac","user":{"login":"dwyl","id":11708465,"avatar_url":"https://avatars.githubusercontent.com/u/11708465?v=3","gravatar_id":"","url":"https://api.github.com/users/dwyl","html_url":"https://github.com/dwyl","followers_url":"https://api.github.com/users/dwyl/followers","following_url":"https://api.github.com/users/dwyl/following{/other_user}","gists_url":"https://api.github.com/users/dwyl/gists{/gist_id}","starred_url":"https://api.github.com/users/dwyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwyl/subscriptions","organizations_url":"https://api.github.com/users/dwyl/orgs","repos_url":"https://api.github.com/users/dwyl/repos","events_url":"https://api.github.com/users/dwyl/events{/privacy}","received_events_url":"https://api.github.com/users/dwyl/received_events","type":"Organization","site_admin":false},"repo":{"id":37846873,"name":"tudo","full_name":"dwyl/tudo","owner":{"login":"dwyl","id":11708465,"avatar_url":"https://avatars.githubusercontent.com/u/11708465?v=3","gravatar_id":"","url":"https://api.github.com/users/dwyl","html_url":"https://github.com/dwyl","followers_url":"https://api.github.com/users/dwyl/followers","following_url":"https://api.github.com/users/dwyl/following{/other_user}","gists_url":"https://api.github.com/users/dwyl/gists{/gist_id}","starred_url":"https://api.github.com/users/dwyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwyl/subscriptions","organizations_url":"https://api.github.com/users/dwyl/orgs","repos_url":"https://api.github.com/users/dwyl/repos","events_url":"https://api.github.com/users/dwyl/events{/privacy}","received_events_url":"https://api.github.com/users/dwyl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dwyl/tudo","description":":white_check_mark: A single version of the truth with integrated task tracking, delegation and accountability.","fork":false,"url":"https://api.github.com/repos/dwyl/tudo","forks_url":"https://api.github.com/repos/dwyl/tudo/forks","keys_url":"https://api.github.com/repos/dwyl/tudo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dwyl/tudo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dwyl/tudo/teams","hooks_url":"https://api.github.com/repos/dwyl/tudo/hooks","issue_events_url":"https://api.github.com/repos/dwyl/tudo/issues/events{/number}","events_url":"https://api.github.com/repos/dwyl/tudo/events","assignees_url":"https://api.github.com/repos/dwyl/tudo/assignees{/user}","branches_url":"https://api.github.com/repos/dwyl/tudo/branches{/branch}","tags_url":"https://api.github.com/repos/dwyl/tudo/tags","blobs_url":"https://api.github.com/repos/dwyl/tudo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dwyl/tudo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dwyl/tudo/git/refs{/sha}","trees_url":"https://api.github.com/repos/dwyl/tudo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dwyl/tudo/statuses/{sha}","languages_url":"https://api.github.com/repos/dwyl/tudo/languages","stargazers_url":"https://api.github.com/repos/dwyl/tudo/stargazers","contributors_url":"https://api.github.com/repos/dwyl/tudo/contributors","subscribers_url":"https://api.github.com/repos/dwyl/tudo/subscribers","subscription_url":"https://api.github.com/repos/dwyl/tudo/subscription","commits_url":"https://api.github.com/repos/dwyl/tudo/commits{/sha}","git_commits_url":"https://api.github.com/repos/dwyl/tudo/git/commits{/sha}","comments_url":"https://api.github.com/repos/dwyl/tudo/comments{/number}","issue_comment_url":"https://api.github.com/repos/dwyl/tudo/issues/comments{/number}","contents_url":"https://api.github.com/repos/dwyl/tudo/contents/{+path}","compare_url":"https://api.github.com/repos/dwyl/tudo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dwyl/tudo/merges","archive_url":"https://api.github.com/repos/dwyl/tudo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dwyl/tudo/downloads","issues_url":"https://api.github.com/repos/dwyl/tudo/issues{/number}","pulls_url":"https://api.github.com/repos/dwyl/tudo/pulls{/number}","milestones_url":"https://api.github.com/repos/dwyl/tudo/milestones{/number}","notifications_url":"https://api.github.com/repos/dwyl/tudo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dwyl/tudo/labels{/name}","releases_url":"https://api.github.com/repos/dwyl/tudo/releases{/id}","created_at":"2015-06-22T09:22:51Z","updated_at":"2015-07-21T16:44:30Z","pushed_at":"2015-07-21T18:23:38Z","git_url":"git://github.com/dwyl/tudo.git","ssh_url":"git@github.com:dwyl/tudo.git","clone_url":"https://github.com/dwyl/tudo.git","svn_url":"https://github.com/dwyl/tudo","homepage":"","size":304,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":36,"forks":0,"open_issues":36,"watchers":10,"default_branch":"master"}},"base":{"label":"dwyl:master","ref":"master","sha":"5e49dc348e2d970074271d90149e1616b14474f6","user":{"login":"dwyl","id":11708465,"avatar_url":"https://avatars.githubusercontent.com/u/11708465?v=3","gravatar_id":"","url":"https://api.github.com/users/dwyl","html_url":"https://github.com/dwyl","followers_url":"https://api.github.com/users/dwyl/followers","following_url":"https://api.github.com/users/dwyl/following{/other_user}","gists_url":"https://api.github.com/users/dwyl/gists{/gist_id}","starred_url":"https://api.github.com/users/dwyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwyl/subscriptions","organizations_url":"https://api.github.com/users/dwyl/orgs","repos_url":"https://api.github.com/users/dwyl/repos","events_url":"https://api.github.com/users/dwyl/events{/privacy}","received_events_url":"https://api.github.com/users/dwyl/received_events","type":"Organization","site_admin":false},"repo":{"id":37846873,"name":"tudo","full_name":"dwyl/tudo","owner":{"login":"dwyl","id":11708465,"avatar_url":"https://avatars.githubusercontent.com/u/11708465?v=3","gravatar_id":"","url":"https://api.github.com/users/dwyl","html_url":"https://github.com/dwyl","followers_url":"https://api.github.com/users/dwyl/followers","following_url":"https://api.github.com/users/dwyl/following{/other_user}","gists_url":"https://api.github.com/users/dwyl/gists{/gist_id}","starred_url":"https://api.github.com/users/dwyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwyl/subscriptions","organizations_url":"https://api.github.com/users/dwyl/orgs","repos_url":"https://api.github.com/users/dwyl/repos","events_url":"https://api.github.com/users/dwyl/events{/privacy}","received_events_url":"https://api.github.com/users/dwyl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dwyl/tudo","description":":white_check_mark: A single version of the truth with integrated task tracking, delegation and accountability.","fork":false,"url":"https://api.github.com/repos/dwyl/tudo","forks_url":"https://api.github.com/repos/dwyl/tudo/forks","keys_url":"https://api.github.com/repos/dwyl/tudo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dwyl/tudo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dwyl/tudo/teams","hooks_url":"https://api.github.com/repos/dwyl/tudo/hooks","issue_events_url":"https://api.github.com/repos/dwyl/tudo/issues/events{/number}","events_url":"https://api.github.com/repos/dwyl/tudo/events","assignees_url":"https://api.github.com/repos/dwyl/tudo/assignees{/user}","branches_url":"https://api.github.com/repos/dwyl/tudo/branches{/branch}","tags_url":"https://api.github.com/repos/dwyl/tudo/tags","blobs_url":"https://api.github.com/repos/dwyl/tudo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dwyl/tudo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dwyl/tudo/git/refs{/sha}","trees_url":"https://api.github.com/repos/dwyl/tudo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dwyl/tudo/statuses/{sha}","languages_url":"https://api.github.com/repos/dwyl/tudo/languages","stargazers_url":"https://api.github.com/repos/dwyl/tudo/stargazers","contributors_url":"https://api.github.com/repos/dwyl/tudo/contributors","subscribers_url":"https://api.github.com/repos/dwyl/tudo/subscribers","subscription_url":"https://api.github.com/repos/dwyl/tudo/subscription","commits_url":"https://api.github.com/repos/dwyl/tudo/commits{/sha}","git_commits_url":"https://api.github.com/repos/dwyl/tudo/git/commits{/sha}","comments_url":"https://api.github.com/repos/dwyl/tudo/comments{/number}","issue_comment_url":"https://api.github.com/repos/dwyl/tudo/issues/comments{/number}","contents_url":"https://api.github.com/repos/dwyl/tudo/contents/{+path}","compare_url":"https://api.github.com/repos/dwyl/tudo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dwyl/tudo/merges","archive_url":"https://api.github.com/repos/dwyl/tudo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dwyl/tudo/downloads","issues_url":"https://api.github.com/repos/dwyl/tudo/issues{/number}","pulls_url":"https://api.github.com/repos/dwyl/tudo/pulls{/number}","milestones_url":"https://api.github.com/repos/dwyl/tudo/milestones{/number}","notifications_url":"https://api.github.com/repos/dwyl/tudo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dwyl/tudo/labels{/name}","releases_url":"https://api.github.com/repos/dwyl/tudo/releases{/id}","created_at":"2015-06-22T09:22:51Z","updated_at":"2015-07-21T16:44:30Z","pushed_at":"2015-07-21T18:23:38Z","git_url":"git://github.com/dwyl/tudo.git","ssh_url":"git@github.com:dwyl/tudo.git","clone_url":"https://github.com/dwyl/tudo.git","svn_url":"https://github.com/dwyl/tudo","homepage":"","size":304,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":36,"forks":0,"open_issues":36,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dwyl/tudo/pulls/50"},"html":{"href":"https://github.com/dwyl/tudo/pull/50"},"issue":{"href":"https://api.github.com/repos/dwyl/tudo/issues/50"},"comments":{"href":"https://api.github.com/repos/dwyl/tudo/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/dwyl/tudo/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/dwyl/tudo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dwyl/tudo/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/dwyl/tudo/statuses/30989d19bc43321199623676a51db60af155b5ac"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":9,"additions":101,"deletions":4,"changed_files":6}}