{"comment":{"url":"https://api.github.com/repos/derekr/the-web-aint-hard-hack-mit-2015/comments/13272974","html_url":"https://github.com/derekr/the-web-aint-hard-hack-mit-2015/commit/f49d20409f6b3254586487be3e4b04d60ff43596#commitcomment-13272974","id":13272974,"user":{"login":"derekr","id":22249,"avatar_url":"https://avatars.githubusercontent.com/u/22249?v=3","gravatar_id":"","url":"https://api.github.com/users/derekr","html_url":"https://github.com/derekr","followers_url":"https://api.github.com/users/derekr/followers","following_url":"https://api.github.com/users/derekr/following{/other_user}","gists_url":"https://api.github.com/users/derekr/gists{/gist_id}","starred_url":"https://api.github.com/users/derekr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekr/subscriptions","organizations_url":"https://api.github.com/users/derekr/orgs","repos_url":"https://api.github.com/users/derekr/repos","events_url":"https://api.github.com/users/derekr/events{/privacy}","received_events_url":"https://api.github.com/users/derekr/received_events","type":"User","site_admin":false},"position":23,"line":23,"path":"app/test-auth.html","commit_id":"f49d20409f6b3254586487be3e4b04d60ff43596","created_at":"2015-09-16T21:07:44Z","updated_at":"2015-09-16T21:07:44Z","body":"Here we could push the user data we want in to a users namespace so we can retrieve a full list of users etc.\r\n\r\nThinking the schema in Firebase would be something like:\r\n\r\n```json\r\n{\r\n  \"users\": [{ \"id\": \"drk\" }],\r\n  \"messages\": [{ userId: \"drk\", \"message\": \"Hey!\", \"timestamp\": \"...\" }]\r\n}\r\n```\r\n\r\nAnd whatever other fields on a message make sense."}}