{"action":"created","comment":{"url":"https://api.github.com/repos/spaceninja/book-list-react/pulls/comments/229177448","pull_request_review_id":169613959,"id":229177448,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyOTE3NzQ0OA==","diff_hunk":"@@ -0,0 +1,12 @@\n+import Rebase from \"re-base\";\n+import firebase from \"firebase\";\n+\n+export const firebaseApp = firebase.initializeApp({\n+  apiKey: \"AIzaSyC8ZnoxnKQPD43YTsgAKyWQdWvPQ5rbujM\",","path":"src/base.js","position":5,"original_position":5,"commit_id":"ec46b38207e07c6a9cdff0d6ee3dd0e6716cccdb","original_commit_id":"ec46b38207e07c6a9cdff0d6ee3dd0e6716cccdb","user":{"login":"vosechu","id":11463,"node_id":"MDQ6VXNlcjExNDYz","avatar_url":"https://avatars1.githubusercontent.com/u/11463?v=4","gravatar_id":"","url":"https://api.github.com/users/vosechu","html_url":"https://github.com/vosechu","followers_url":"https://api.github.com/users/vosechu/followers","following_url":"https://api.github.com/users/vosechu/following{/other_user}","gists_url":"https://api.github.com/users/vosechu/gists{/gist_id}","starred_url":"https://api.github.com/users/vosechu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vosechu/subscriptions","organizations_url":"https://api.github.com/users/vosechu/orgs","repos_url":"https://api.github.com/users/vosechu/repos","events_url":"https://api.github.com/users/vosechu/events{/privacy}","received_events_url":"https://api.github.com/users/vosechu/received_events","type":"User","site_admin":false},"body":"Should this be public?","created_at":"2018-10-30T05:08:59Z","updated_at":"2018-10-30T05:12:13Z","html_url":"https://github.com/spaceninja/book-list-react/pull/19#discussion_r229177448","pull_request_url":"https://api.github.com/repos/spaceninja/book-list-react/pulls/19","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/spaceninja/book-list-react/pulls/comments/229177448"},"html":{"href":"https://github.com/spaceninja/book-list-react/pull/19#discussion_r229177448"},"pull_request":{"href":"https://api.github.com/repos/spaceninja/book-list-react/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/spaceninja/book-list-react/pulls/19","id":226437982,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2NDM3OTgy","html_url":"https://github.com/spaceninja/book-list-react/pull/19","diff_url":"https://github.com/spaceninja/book-list-react/pull/19.diff","patch_url":"https://github.com/spaceninja/book-list-react/pull/19.patch","issue_url":"https://api.github.com/repos/spaceninja/book-list-react/issues/19","number":19,"state":"open","locked":false,"title":"Authenticate and Sync State with Firebase","user":{"login":"spaceninja","id":257309,"node_id":"MDQ6VXNlcjI1NzMwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/257309?v=4","gravatar_id":"","url":"https://api.github.com/users/spaceninja","html_url":"https://github.com/spaceninja","followers_url":"https://api.github.com/users/spaceninja/followers","following_url":"https://api.github.com/users/spaceninja/following{/other_user}","gists_url":"https://api.github.com/users/spaceninja/gists{/gist_id}","starred_url":"https://api.github.com/users/spaceninja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spaceninja/subscriptions","organizations_url":"https://api.github.com/users/spaceninja/orgs","repos_url":"https://api.github.com/users/spaceninja/repos","events_url":"https://api.github.com/users/spaceninja/events{/privacy}","received_events_url":"https://api.github.com/users/spaceninja/received_events","type":"User","site_admin":false},"body":"This commit adds Firebase integration for two new features:\r\n\r\n1) Sync State with Firebase\r\nAny changes to the book list are now synced with the Firebase database.\r\nAlso, the initial state of the book list is loaded from Firebase, so\r\nthere's now a \"loading\" state until Firebase connects.\r\n\r\n2) Authenticate with Firebase\r\nAccess to admin mode is now restricted behind authenticate via GitHub,\r\nmeaning only a user whose UID matches the owner ID in the database will\r\nbe granted admin access to modify the book list.\r\n\r\nFixes #4\r\nFixes #5","created_at":"2018-10-29T04:54:42Z","updated_at":"2018-10-30T05:12:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"29f56a3b0aabe875fa7aae7d038a5dc66bb978c3","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jennspencer","id":20567510,"node_id":"MDQ6VXNlcjIwNTY3NTEw","avatar_url":"https://avatars2.githubusercontent.com/u/20567510?v=4","gravatar_id":"","url":"https://api.github.com/users/jennspencer","html_url":"https://github.com/jennspencer","followers_url":"https://api.github.com/users/jennspencer/followers","following_url":"https://api.github.com/users/jennspencer/following{/other_user}","gists_url":"https://api.github.com/users/jennspencer/gists{/gist_id}","starred_url":"https://api.github.com/users/jennspencer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jennspencer/subscriptions","organizations_url":"https://api.github.com/users/jennspencer/orgs","repos_url":"https://api.github.com/users/jennspencer/repos","events_url":"https://api.github.com/users/jennspencer/events{/privacy}","received_events_url":"https://api.github.com/users/jennspencer/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/spaceninja/book-list-react/pulls/19/commits","review_comments_url":"https://api.github.com/repos/spaceninja/book-list-react/pulls/19/comments","review_comment_url":"https://api.github.com/repos/spaceninja/book-list-react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spaceninja/book-list-react/issues/19/comments","statuses_url":"https://api.github.com/repos/spaceninja/book-list-react/statuses/ec46b38207e07c6a9cdff0d6ee3dd0e6716cccdb","head":{"label":"spaceninja:firebase","ref":"firebase","sha":"ec46b38207e07c6a9cdff0d6ee3dd0e6716cccdb","user":{"login":"spaceninja","id":257309,"node_id":"MDQ6VXNlcjI1NzMwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/257309?v=4","gravatar_id":"","url":"https://api.github.com/users/spaceninja","html_url":"https://github.com/spaceninja","followers_url":"https://api.github.com/users/spaceninja/followers","following_url":"https://api.github.com/users/spaceninja/following{/other_user}","gists_url":"https://api.github.com/users/spaceninja/gists{/gist_id}","starred_url":"https://api.github.com/users/spaceninja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spaceninja/subscriptions","organizations_url":"https://api.github.com/users/spaceninja/orgs","repos_url":"https://api.github.com/users/spaceninja/repos","events_url":"https://api.github.com/users/spaceninja/events{/privacy}","received_events_url":"https://api.github.com/users/spaceninja/received_events","type":"User","site_admin":false},"repo":{"id":153701482,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM3MDE0ODI=","name":"book-list-react","full_name":"spaceninja/book-list-react","private":false,"owner":{"login":"spaceninja","id":257309,"node_id":"MDQ6VXNlcjI1NzMwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/257309?v=4","gravatar_id":"","url":"https://api.github.com/users/spaceninja","html_url":"https://github.com/spaceninja","followers_url":"https://api.github.com/users/spaceninja/followers","following_url":"https://api.github.com/users/spaceninja/following{/other_user}","gists_url":"https://api.github.com/users/spaceninja/gists{/gist_id}","starred_url":"https://api.github.com/users/spaceninja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spaceninja/subscriptions","organizations_url":"https://api.github.com/users/spaceninja/orgs","repos_url":"https://api.github.com/users/spaceninja/repos","events_url":"https://api.github.com/users/spaceninja/events{/privacy}","received_events_url":"https://api.github.com/users/spaceninja/received_events","type":"User","site_admin":false},"html_url":"https://github.com/spaceninja/book-list-react","description":"Book List in React","fork":false,"url":"https://api.github.com/repos/spaceninja/book-list-react","forks_url":"https://api.github.com/repos/spaceninja/book-list-react/forks","keys_url":"https://api.github.com/repos/spaceninja/book-list-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spaceninja/book-list-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spaceninja/book-list-react/teams","hooks_url":"https://api.github.com/repos/spaceninja/book-list-react/hooks","issue_events_url":"https://api.github.com/repos/spaceninja/book-list-react/issues/events{/number}","events_url":"https://api.github.com/repos/spaceninja/book-list-react/events","assignees_url":"https://api.github.com/repos/spaceninja/book-list-react/assignees{/user}","branches_url":"https://api.github.com/repos/spaceninja/book-list-react/branches{/branch}","tags_url":"https://api.github.com/repos/spaceninja/book-list-react/tags","blobs_url":"https://api.github.com/repos/spaceninja/book-list-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spaceninja/book-list-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spaceninja/book-list-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/spaceninja/book-list-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spaceninja/book-list-react/statuses/{sha}","languages_url":"https://api.github.com/repos/spaceninja/book-list-react/languages","stargazers_url":"https://api.github.com/repos/spaceninja/book-list-react/stargazers","contributors_url":"https://api.github.com/repos/spaceninja/book-list-react/contributors","subscribers_url":"https://api.github.com/repos/spaceninja/book-list-react/subscribers","subscription_url":"https://api.github.com/repos/spaceninja/book-list-react/subscription","commits_url":"https://api.github.com/repos/spaceninja/book-list-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/spaceninja/book-list-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/spaceninja/book-list-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/spaceninja/book-list-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/spaceninja/book-list-react/contents/{+path}","compare_url":"https://api.github.com/repos/spaceninja/book-list-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spaceninja/book-list-react/merges","archive_url":"https://api.github.com/repos/spaceninja/book-list-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spaceninja/book-list-react/downloads","issues_url":"https://api.github.com/repos/spaceninja/book-list-react/issues{/number}","pulls_url":"https://api.github.com/repos/spaceninja/book-list-react/pulls{/number}","milestones_url":"https://api.github.com/repos/spaceninja/book-list-react/milestones{/number}","notifications_url":"https://api.github.com/repos/spaceninja/book-list-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spaceninja/book-list-react/labels{/name}","releases_url":"https://api.github.com/repos/spaceninja/book-list-react/releases{/id}","deployments_url":"https://api.github.com/repos/spaceninja/book-list-react/deployments","created_at":"2018-10-18T23:49:04Z","updated_at":"2018-10-28T18:31:37Z","pushed_at":"2018-10-29T05:10:09Z","git_url":"git://github.com/spaceninja/book-list-react.git","ssh_url":"git@github.com:spaceninja/book-list-react.git","clone_url":"https://github.com/spaceninja/book-list-react.git","svn_url":"https://github.com/spaceninja/book-list-react","homepage":"https://spaceninja.github.io/book-list-react/","size":2276,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":10,"license":null,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"spaceninja:master","ref":"master","sha":"ae7625c2abad1d71a902312e942051c636797593","user":{"login":"spaceninja","id":257309,"node_id":"MDQ6VXNlcjI1NzMwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/257309?v=4","gravatar_id":"","url":"https://api.github.com/users/spaceninja","html_url":"https://github.com/spaceninja","followers_url":"https://api.github.com/users/spaceninja/followers","following_url":"https://api.github.com/users/spaceninja/following{/other_user}","gists_url":"https://api.github.com/users/spaceninja/gists{/gist_id}","starred_url":"https://api.github.com/users/spaceninja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spaceninja/subscriptions","organizations_url":"https://api.github.com/users/spaceninja/orgs","repos_url":"https://api.github.com/users/spaceninja/repos","events_url":"https://api.github.com/users/spaceninja/events{/privacy}","received_events_url":"https://api.github.com/users/spaceninja/received_events","type":"User","site_admin":false},"repo":{"id":153701482,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM3MDE0ODI=","name":"book-list-react","full_name":"spaceninja/book-list-react","private":false,"owner":{"login":"spaceninja","id":257309,"node_id":"MDQ6VXNlcjI1NzMwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/257309?v=4","gravatar_id":"","url":"https://api.github.com/users/spaceninja","html_url":"https://github.com/spaceninja","followers_url":"https://api.github.com/users/spaceninja/followers","following_url":"https://api.github.com/users/spaceninja/following{/other_user}","gists_url":"https://api.github.com/users/spaceninja/gists{/gist_id}","starred_url":"https://api.github.com/users/spaceninja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spaceninja/subscriptions","organizations_url":"https://api.github.com/users/spaceninja/orgs","repos_url":"https://api.github.com/users/spaceninja/repos","events_url":"https://api.github.com/users/spaceninja/events{/privacy}","received_events_url":"https://api.github.com/users/spaceninja/received_events","type":"User","site_admin":false},"html_url":"https://github.com/spaceninja/book-list-react","description":"Book List in React","fork":false,"url":"https://api.github.com/repos/spaceninja/book-list-react","forks_url":"https://api.github.com/repos/spaceninja/book-list-react/forks","keys_url":"https://api.github.com/repos/spaceninja/book-list-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spaceninja/book-list-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spaceninja/book-list-react/teams","hooks_url":"https://api.github.com/repos/spaceninja/book-list-react/hooks","issue_events_url":"https://api.github.com/repos/spaceninja/book-list-react/issues/events{/number}","events_url":"https://api.github.com/repos/spaceninja/book-list-react/events","assignees_url":"https://api.github.com/repos/spaceninja/book-list-react/assignees{/user}","branches_url":"https://api.github.com/repos/spaceninja/book-list-react/branches{/branch}","tags_url":"https://api.github.com/repos/spaceninja/book-list-react/tags","blobs_url":"https://api.github.com/repos/spaceninja/book-list-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spaceninja/book-list-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spaceninja/book-list-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/spaceninja/book-list-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spaceninja/book-list-react/statuses/{sha}","languages_url":"https://api.github.com/repos/spaceninja/book-list-react/languages","stargazers_url":"https://api.github.com/repos/spaceninja/book-list-react/stargazers","contributors_url":"https://api.github.com/repos/spaceninja/book-list-react/contributors","subscribers_url":"https://api.github.com/repos/spaceninja/book-list-react/subscribers","subscription_url":"https://api.github.com/repos/spaceninja/book-list-react/subscription","commits_url":"https://api.github.com/repos/spaceninja/book-list-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/spaceninja/book-list-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/spaceninja/book-list-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/spaceninja/book-list-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/spaceninja/book-list-react/contents/{+path}","compare_url":"https://api.github.com/repos/spaceninja/book-list-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spaceninja/book-list-react/merges","archive_url":"https://api.github.com/repos/spaceninja/book-list-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spaceninja/book-list-react/downloads","issues_url":"https://api.github.com/repos/spaceninja/book-list-react/issues{/number}","pulls_url":"https://api.github.com/repos/spaceninja/book-list-react/pulls{/number}","milestones_url":"https://api.github.com/repos/spaceninja/book-list-react/milestones{/number}","notifications_url":"https://api.github.com/repos/spaceninja/book-list-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spaceninja/book-list-react/labels{/name}","releases_url":"https://api.github.com/repos/spaceninja/book-list-react/releases{/id}","deployments_url":"https://api.github.com/repos/spaceninja/book-list-react/deployments","created_at":"2018-10-18T23:49:04Z","updated_at":"2018-10-28T18:31:37Z","pushed_at":"2018-10-29T05:10:09Z","git_url":"git://github.com/spaceninja/book-list-react.git","ssh_url":"git@github.com:spaceninja/book-list-react.git","clone_url":"https://github.com/spaceninja/book-list-react.git","svn_url":"https://github.com/spaceninja/book-list-react","homepage":"https://spaceninja.github.io/book-list-react/","size":2276,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":10,"license":null,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spaceninja/book-list-react/pulls/19"},"html":{"href":"https://github.com/spaceninja/book-list-react/pull/19"},"issue":{"href":"https://api.github.com/repos/spaceninja/book-list-react/issues/19"},"comments":{"href":"https://api.github.com/repos/spaceninja/book-list-react/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/spaceninja/book-list-react/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/spaceninja/book-list-react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spaceninja/book-list-react/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/spaceninja/book-list-react/statuses/ec46b38207e07c6a9cdff0d6ee3dd0e6716cccdb"}},"author_association":"OWNER"}}
{"actor":{"display_login":"vosechu"}}