{"action":"created","comment":{"url":"https://api.github.com/repos/cs472-spots/spots/pulls/comments/104522638","pull_request_review_id":25363950,"id":104522638,"diff_hunk":"@@ -6,10 +6,29 @@ import './App.css';\n class App extends Component {\n   constructor(props) {\n     super(props);\n-\n     this.socket = SocketIOClient('http://localhost:3000');\n+    this.keyPressEvent = this.keyPressEvent.bind(this);\n   }\n \n+        keyPressEvent() {\n+          /**test to send out Object--not yet working\n+           var name = 'Alex';\n+           var nsheid = 300;\n+           var permit = 'Student';\n+           var data = {\n+              Name: name,\n+              NSHE: nsheid,\n+              Permit: permit\n+           };\n+         **/\n+","path":"server/frontend/src/containers/App.js","position":20,"original_position":20,"commit_id":"3ad6ae1358bf3d9605092607d92bebccb073ec1f","original_commit_id":"3ad6ae1358bf3d9605092607d92bebccb073ec1f","user":{"login":"martinjaime","id":10568301,"avatar_url":"https://avatars2.githubusercontent.com/u/10568301?v=3","gravatar_id":"","url":"https://api.github.com/users/martinjaime","html_url":"https://github.com/martinjaime","followers_url":"https://api.github.com/users/martinjaime/followers","following_url":"https://api.github.com/users/martinjaime/following{/other_user}","gists_url":"https://api.github.com/users/martinjaime/gists{/gist_id}","starred_url":"https://api.github.com/users/martinjaime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinjaime/subscriptions","organizations_url":"https://api.github.com/users/martinjaime/orgs","repos_url":"https://api.github.com/users/martinjaime/repos","events_url":"https://api.github.com/users/martinjaime/events{/privacy}","received_events_url":"https://api.github.com/users/martinjaime/received_events","type":"User","site_admin":false},"body":"I think we can do without this comment. ","created_at":"2017-03-06T21:07:57Z","updated_at":"2017-03-06T21:12:07Z","html_url":"https://github.com/cs472-spots/spots/pull/13#discussion_r104522638","pull_request_url":"https://api.github.com/repos/cs472-spots/spots/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/cs472-spots/spots/pulls/comments/104522638"},"html":{"href":"https://github.com/cs472-spots/spots/pull/13#discussion_r104522638"},"pull_request":{"href":"https://api.github.com/repos/cs472-spots/spots/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/cs472-spots/spots/pulls/13","id":109330790,"html_url":"https://github.com/cs472-spots/spots/pull/13","diff_url":"https://github.com/cs472-spots/spots/pull/13.diff","patch_url":"https://github.com/cs472-spots/spots/pull/13.patch","issue_url":"https://api.github.com/repos/cs472-spots/spots/issues/13","number":13,"state":"open","locked":false,"title":"Fixed directories and added directory for database server","user":{"login":"alexyeah","id":25439559,"avatar_url":"https://avatars3.githubusercontent.com/u/25439559?v=3","gravatar_id":"","url":"https://api.github.com/users/alexyeah","html_url":"https://github.com/alexyeah","followers_url":"https://api.github.com/users/alexyeah/followers","following_url":"https://api.github.com/users/alexyeah/following{/other_user}","gists_url":"https://api.github.com/users/alexyeah/gists{/gist_id}","starred_url":"https://api.github.com/users/alexyeah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexyeah/subscriptions","organizations_url":"https://api.github.com/users/alexyeah/orgs","repos_url":"https://api.github.com/users/alexyeah/repos","events_url":"https://api.github.com/users/alexyeah/events{/privacy}","received_events_url":"https://api.github.com/users/alexyeah/received_events","type":"User","site_admin":false},"body":"Comments on how to communicate with server from web app is included within the comments at 'spots/server/src/frontend/App.js'\r\n\r\nTo test communication:\r\nOpen console, go to spots/server and type in `npm start`\r\nOpen another console, go to spots/server/frontend and type in `npm start`\r\nOpen browser and go to http://localhost:3000\r\n* The console where the server is started should have the client connected\r\n* Open a development console for the browser \r\n* Click on 'Send Message' button\r\n* Message should show up on server console and the server should send a reply back (which shows   on the browser console) \r\n\r\n\r\nA separate directory has also been added for Firebase. Main file is named 'dbServer.js'","created_at":"2017-03-06T19:31:06Z","updated_at":"2017-03-06T21:12:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"58e03503408696cabd9bbf9edf176dd80c603d87","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cs472-spots/spots/pulls/13/commits","review_comments_url":"https://api.github.com/repos/cs472-spots/spots/pulls/13/comments","review_comment_url":"https://api.github.com/repos/cs472-spots/spots/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cs472-spots/spots/issues/13/comments","statuses_url":"https://api.github.com/repos/cs472-spots/spots/statuses/3ad6ae1358bf3d9605092607d92bebccb073ec1f","head":{"label":"cs472-spots:af-branch","ref":"af-branch","sha":"3ad6ae1358bf3d9605092607d92bebccb073ec1f","user":{"login":"cs472-spots","id":25360122,"avatar_url":"https://avatars0.githubusercontent.com/u/25360122?v=3","gravatar_id":"","url":"https://api.github.com/users/cs472-spots","html_url":"https://github.com/cs472-spots","followers_url":"https://api.github.com/users/cs472-spots/followers","following_url":"https://api.github.com/users/cs472-spots/following{/other_user}","gists_url":"https://api.github.com/users/cs472-spots/gists{/gist_id}","starred_url":"https://api.github.com/users/cs472-spots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cs472-spots/subscriptions","organizations_url":"https://api.github.com/users/cs472-spots/orgs","repos_url":"https://api.github.com/users/cs472-spots/repos","events_url":"https://api.github.com/users/cs472-spots/events{/privacy}","received_events_url":"https://api.github.com/users/cs472-spots/received_events","type":"Organization","site_admin":false},"repo":{"id":80864464,"name":"spots","full_name":"cs472-spots/spots","owner":{"login":"cs472-spots","id":25360122,"avatar_url":"https://avatars0.githubusercontent.com/u/25360122?v=3","gravatar_id":"","url":"https://api.github.com/users/cs472-spots","html_url":"https://github.com/cs472-spots","followers_url":"https://api.github.com/users/cs472-spots/followers","following_url":"https://api.github.com/users/cs472-spots/following{/other_user}","gists_url":"https://api.github.com/users/cs472-spots/gists{/gist_id}","starred_url":"https://api.github.com/users/cs472-spots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cs472-spots/subscriptions","organizations_url":"https://api.github.com/users/cs472-spots/orgs","repos_url":"https://api.github.com/users/cs472-spots/repos","events_url":"https://api.github.com/users/cs472-spots/events{/privacy}","received_events_url":"https://api.github.com/users/cs472-spots/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cs472-spots/spots","description":null,"fork":false,"url":"https://api.github.com/repos/cs472-spots/spots","forks_url":"https://api.github.com/repos/cs472-spots/spots/forks","keys_url":"https://api.github.com/repos/cs472-spots/spots/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cs472-spots/spots/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cs472-spots/spots/teams","hooks_url":"https://api.github.com/repos/cs472-spots/spots/hooks","issue_events_url":"https://api.github.com/repos/cs472-spots/spots/issues/events{/number}","events_url":"https://api.github.com/repos/cs472-spots/spots/events","assignees_url":"https://api.github.com/repos/cs472-spots/spots/assignees{/user}","branches_url":"https://api.github.com/repos/cs472-spots/spots/branches{/branch}","tags_url":"https://api.github.com/repos/cs472-spots/spots/tags","blobs_url":"https://api.github.com/repos/cs472-spots/spots/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cs472-spots/spots/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cs472-spots/spots/git/refs{/sha}","trees_url":"https://api.github.com/repos/cs472-spots/spots/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cs472-spots/spots/statuses/{sha}","languages_url":"https://api.github.com/repos/cs472-spots/spots/languages","stargazers_url":"https://api.github.com/repos/cs472-spots/spots/stargazers","contributors_url":"https://api.github.com/repos/cs472-spots/spots/contributors","subscribers_url":"https://api.github.com/repos/cs472-spots/spots/subscribers","subscription_url":"https://api.github.com/repos/cs472-spots/spots/subscription","commits_url":"https://api.github.com/repos/cs472-spots/spots/commits{/sha}","git_commits_url":"https://api.github.com/repos/cs472-spots/spots/git/commits{/sha}","comments_url":"https://api.github.com/repos/cs472-spots/spots/comments{/number}","issue_comment_url":"https://api.github.com/repos/cs472-spots/spots/issues/comments{/number}","contents_url":"https://api.github.com/repos/cs472-spots/spots/contents/{+path}","compare_url":"https://api.github.com/repos/cs472-spots/spots/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cs472-spots/spots/merges","archive_url":"https://api.github.com/repos/cs472-spots/spots/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cs472-spots/spots/downloads","issues_url":"https://api.github.com/repos/cs472-spots/spots/issues{/number}","pulls_url":"https://api.github.com/repos/cs472-spots/spots/pulls{/number}","milestones_url":"https://api.github.com/repos/cs472-spots/spots/milestones{/number}","notifications_url":"https://api.github.com/repos/cs472-spots/spots/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cs472-spots/spots/labels{/name}","releases_url":"https://api.github.com/repos/cs472-spots/spots/releases{/id}","deployments_url":"https://api.github.com/repos/cs472-spots/spots/deployments","created_at":"2017-02-03T19:59:11Z","updated_at":"2017-02-07T07:24:46Z","pushed_at":"2017-03-06T19:31:06Z","git_url":"git://github.com/cs472-spots/spots.git","ssh_url":"git@github.com:cs472-spots/spots.git","clone_url":"https://github.com/cs472-spots/spots.git","svn_url":"https://github.com/cs472-spots/spots","homepage":null,"size":71,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"cs472-spots:master","ref":"master","sha":"c3e5a5ab30c8021420e9df294d4ad5a84ba1b675","user":{"login":"cs472-spots","id":25360122,"avatar_url":"https://avatars0.githubusercontent.com/u/25360122?v=3","gravatar_id":"","url":"https://api.github.com/users/cs472-spots","html_url":"https://github.com/cs472-spots","followers_url":"https://api.github.com/users/cs472-spots/followers","following_url":"https://api.github.com/users/cs472-spots/following{/other_user}","gists_url":"https://api.github.com/users/cs472-spots/gists{/gist_id}","starred_url":"https://api.github.com/users/cs472-spots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cs472-spots/subscriptions","organizations_url":"https://api.github.com/users/cs472-spots/orgs","repos_url":"https://api.github.com/users/cs472-spots/repos","events_url":"https://api.github.com/users/cs472-spots/events{/privacy}","received_events_url":"https://api.github.com/users/cs472-spots/received_events","type":"Organization","site_admin":false},"repo":{"id":80864464,"name":"spots","full_name":"cs472-spots/spots","owner":{"login":"cs472-spots","id":25360122,"avatar_url":"https://avatars0.githubusercontent.com/u/25360122?v=3","gravatar_id":"","url":"https://api.github.com/users/cs472-spots","html_url":"https://github.com/cs472-spots","followers_url":"https://api.github.com/users/cs472-spots/followers","following_url":"https://api.github.com/users/cs472-spots/following{/other_user}","gists_url":"https://api.github.com/users/cs472-spots/gists{/gist_id}","starred_url":"https://api.github.com/users/cs472-spots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cs472-spots/subscriptions","organizations_url":"https://api.github.com/users/cs472-spots/orgs","repos_url":"https://api.github.com/users/cs472-spots/repos","events_url":"https://api.github.com/users/cs472-spots/events{/privacy}","received_events_url":"https://api.github.com/users/cs472-spots/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cs472-spots/spots","description":null,"fork":false,"url":"https://api.github.com/repos/cs472-spots/spots","forks_url":"https://api.github.com/repos/cs472-spots/spots/forks","keys_url":"https://api.github.com/repos/cs472-spots/spots/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cs472-spots/spots/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cs472-spots/spots/teams","hooks_url":"https://api.github.com/repos/cs472-spots/spots/hooks","issue_events_url":"https://api.github.com/repos/cs472-spots/spots/issues/events{/number}","events_url":"https://api.github.com/repos/cs472-spots/spots/events","assignees_url":"https://api.github.com/repos/cs472-spots/spots/assignees{/user}","branches_url":"https://api.github.com/repos/cs472-spots/spots/branches{/branch}","tags_url":"https://api.github.com/repos/cs472-spots/spots/tags","blobs_url":"https://api.github.com/repos/cs472-spots/spots/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cs472-spots/spots/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cs472-spots/spots/git/refs{/sha}","trees_url":"https://api.github.com/repos/cs472-spots/spots/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cs472-spots/spots/statuses/{sha}","languages_url":"https://api.github.com/repos/cs472-spots/spots/languages","stargazers_url":"https://api.github.com/repos/cs472-spots/spots/stargazers","contributors_url":"https://api.github.com/repos/cs472-spots/spots/contributors","subscribers_url":"https://api.github.com/repos/cs472-spots/spots/subscribers","subscription_url":"https://api.github.com/repos/cs472-spots/spots/subscription","commits_url":"https://api.github.com/repos/cs472-spots/spots/commits{/sha}","git_commits_url":"https://api.github.com/repos/cs472-spots/spots/git/commits{/sha}","comments_url":"https://api.github.com/repos/cs472-spots/spots/comments{/number}","issue_comment_url":"https://api.github.com/repos/cs472-spots/spots/issues/comments{/number}","contents_url":"https://api.github.com/repos/cs472-spots/spots/contents/{+path}","compare_url":"https://api.github.com/repos/cs472-spots/spots/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cs472-spots/spots/merges","archive_url":"https://api.github.com/repos/cs472-spots/spots/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cs472-spots/spots/downloads","issues_url":"https://api.github.com/repos/cs472-spots/spots/issues{/number}","pulls_url":"https://api.github.com/repos/cs472-spots/spots/pulls{/number}","milestones_url":"https://api.github.com/repos/cs472-spots/spots/milestones{/number}","notifications_url":"https://api.github.com/repos/cs472-spots/spots/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cs472-spots/spots/labels{/name}","releases_url":"https://api.github.com/repos/cs472-spots/spots/releases{/id}","deployments_url":"https://api.github.com/repos/cs472-spots/spots/deployments","created_at":"2017-02-03T19:59:11Z","updated_at":"2017-02-07T07:24:46Z","pushed_at":"2017-03-06T19:31:06Z","git_url":"git://github.com/cs472-spots/spots.git","ssh_url":"git@github.com:cs472-spots/spots.git","clone_url":"https://github.com/cs472-spots/spots.git","svn_url":"https://github.com/cs472-spots/spots","homepage":null,"size":71,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cs472-spots/spots/pulls/13"},"html":{"href":"https://github.com/cs472-spots/spots/pull/13"},"issue":{"href":"https://api.github.com/repos/cs472-spots/spots/issues/13"},"comments":{"href":"https://api.github.com/repos/cs472-spots/spots/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/cs472-spots/spots/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/cs472-spots/spots/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cs472-spots/spots/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/cs472-spots/spots/statuses/3ad6ae1358bf3d9605092607d92bebccb073ec1f"}}}}
{"actor":{"display_login":"martinjaime"}}