{"action":"created","issue":{"url":"https://api.github.com/repos/wedeploy/demo-quiz/issues/12","repository_url":"https://api.github.com/repos/wedeploy/demo-quiz","labels_url":"https://api.github.com/repos/wedeploy/demo-quiz/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/wedeploy/demo-quiz/issues/12/comments","events_url":"https://api.github.com/repos/wedeploy/demo-quiz/issues/12/events","html_url":"https://github.com/wedeploy/demo-quiz/issues/12","id":188290445,"number":12,"title":"Auth - workflow","user":{"login":"igorspasic","id":2280001,"avatar_url":"https://avatars.githubusercontent.com/u/2280001?v=3","gravatar_id":"","url":"https://api.github.com/users/igorspasic","html_url":"https://github.com/igorspasic","followers_url":"https://api.github.com/users/igorspasic/followers","following_url":"https://api.github.com/users/igorspasic/following{/other_user}","gists_url":"https://api.github.com/users/igorspasic/gists{/gist_id}","starred_url":"https://api.github.com/users/igorspasic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorspasic/subscriptions","organizations_url":"https://api.github.com/users/igorspasic/orgs","repos_url":"https://api.github.com/users/igorspasic/repos","events_url":"https://api.github.com/users/igorspasic/events{/privacy}","received_events_url":"https://api.github.com/users/igorspasic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"pragmaticivan","id":301291,"avatar_url":"https://avatars.githubusercontent.com/u/301291?v=3","gravatar_id":"","url":"https://api.github.com/users/pragmaticivan","html_url":"https://github.com/pragmaticivan","followers_url":"https://api.github.com/users/pragmaticivan/followers","following_url":"https://api.github.com/users/pragmaticivan/following{/other_user}","gists_url":"https://api.github.com/users/pragmaticivan/gists{/gist_id}","starred_url":"https://api.github.com/users/pragmaticivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pragmaticivan/subscriptions","organizations_url":"https://api.github.com/users/pragmaticivan/orgs","repos_url":"https://api.github.com/users/pragmaticivan/repos","events_url":"https://api.github.com/users/pragmaticivan/events{/privacy}","received_events_url":"https://api.github.com/users/pragmaticivan/received_events","type":"User","site_admin":false},"assignees":[{"login":"pragmaticivan","id":301291,"avatar_url":"https://avatars.githubusercontent.com/u/301291?v=3","gravatar_id":"","url":"https://api.github.com/users/pragmaticivan","html_url":"https://github.com/pragmaticivan","followers_url":"https://api.github.com/users/pragmaticivan/followers","following_url":"https://api.github.com/users/pragmaticivan/following{/other_user}","gists_url":"https://api.github.com/users/pragmaticivan/gists{/gist_id}","starred_url":"https://api.github.com/users/pragmaticivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pragmaticivan/subscriptions","organizations_url":"https://api.github.com/users/pragmaticivan/orgs","repos_url":"https://api.github.com/users/pragmaticivan/repos","events_url":"https://api.github.com/users/pragmaticivan/events{/privacy}","received_events_url":"https://api.github.com/users/pragmaticivan/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-11-09T16:29:46Z","updated_at":"2016-11-09T21:19:41Z","closed_at":null,"body":"Here is the auth workflow:\r\n\r\n+ user must log in in order to vote.\r\n+ provide option to signup quickly (without sending email, if possible)?\r\n+ in `main.js` there is a method `handleAnswer` that calls method `incrementUserStats` and pass user id to it. Currently, the user id is hardcoded (`userNN`). This change should put a real user id here.\r\n\r\nADDITIONAL\r\n\r\n+ make a javascript method that returns list of all users (i.e. userIds)."},"comment":{"url":"https://api.github.com/repos/wedeploy/demo-quiz/issues/comments/259529623","html_url":"https://github.com/wedeploy/demo-quiz/issues/12#issuecomment-259529623","issue_url":"https://api.github.com/repos/wedeploy/demo-quiz/issues/12","id":259529623,"user":{"login":"cirocosta","id":3574444,"avatar_url":"https://avatars.githubusercontent.com/u/3574444?v=3","gravatar_id":"","url":"https://api.github.com/users/cirocosta","html_url":"https://github.com/cirocosta","followers_url":"https://api.github.com/users/cirocosta/followers","following_url":"https://api.github.com/users/cirocosta/following{/other_user}","gists_url":"https://api.github.com/users/cirocosta/gists{/gist_id}","starred_url":"https://api.github.com/users/cirocosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cirocosta/subscriptions","organizations_url":"https://api.github.com/users/cirocosta/orgs","repos_url":"https://api.github.com/users/cirocosta/repos","events_url":"https://api.github.com/users/cirocosta/events{/privacy}","received_events_url":"https://api.github.com/users/cirocosta/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T21:19:41Z","updated_at":"2016-11-09T21:19:41Z","body":"i also prefer this way to have separate `js` files with just the minimal functionality for each section. Wdyt?"}}
{"actor":{"display_login":"cirocosta"}}