{"action":"created","issue":{"url":"https://api.github.com/repos/substance/notepad/issues/26","repository_url":"https://api.github.com/repos/substance/notepad","labels_url":"https://api.github.com/repos/substance/notepad/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/substance/notepad/issues/26/comments","events_url":"https://api.github.com/repos/substance/notepad/issues/26/events","html_url":"https://github.com/substance/notepad/issues/26","id":135068004,"number":26,"title":"move api.js to Substance CollabHub implementation","user":{"login":"michael","id":2931,"avatar_url":"https://avatars.githubusercontent.com/u/2931?v=3","gravatar_id":"","url":"https://api.github.com/users/michael","html_url":"https://github.com/michael","followers_url":"https://api.github.com/users/michael/followers","following_url":"https://api.github.com/users/michael/following{/other_user}","gists_url":"https://api.github.com/users/michael/gists{/gist_id}","starred_url":"https://api.github.com/users/michael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael/subscriptions","organizations_url":"https://api.github.com/users/michael/orgs","repos_url":"https://api.github.com/users/michael/repos","events_url":"https://api.github.com/users/michael/events{/privacy}","received_events_url":"https://api.github.com/users/michael/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Integral","id":182010,"avatar_url":"https://avatars.githubusercontent.com/u/182010?v=3","gravatar_id":"","url":"https://api.github.com/users/Integral","html_url":"https://github.com/Integral","followers_url":"https://api.github.com/users/Integral/followers","following_url":"https://api.github.com/users/Integral/following{/other_user}","gists_url":"https://api.github.com/users/Integral/gists{/gist_id}","starred_url":"https://api.github.com/users/Integral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Integral/subscriptions","organizations_url":"https://api.github.com/users/Integral/orgs","repos_url":"https://api.github.com/users/Integral/repos","events_url":"https://api.github.com/users/Integral/events{/privacy}","received_events_url":"https://api.github.com/users/Integral/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-02-20T12:39:48Z","updated_at":"2016-02-20T15:28:13Z","closed_at":null,"body":"This should sit inside addRoutes method of CollabHub (work in a branch on substance repo, base it on `improved-collabsession` branch.\r\n\r\nImplementation of upload figure including dependencies (multer etc.) should go into hub/ChangesStore.js\r\n\r\nRemember that in Substance land we just want interfaces we can call without implementation dependencies (no sql, no multer etc. stuff).\r\n\r\nWe may rename `store` to `backend` at some point.\r\n\r\nWork on the session user store first, and grab this if you run out of work."},"comment":{"url":"https://api.github.com/repos/substance/notepad/issues/comments/186625547","html_url":"https://github.com/substance/notepad/issues/26#issuecomment-186625547","issue_url":"https://api.github.com/repos/substance/notepad/issues/26","id":186625547,"user":{"login":"michael","id":2931,"avatar_url":"https://avatars.githubusercontent.com/u/2931?v=3","gravatar_id":"","url":"https://api.github.com/users/michael","html_url":"https://github.com/michael","followers_url":"https://api.github.com/users/michael/followers","following_url":"https://api.github.com/users/michael/following{/other_user}","gists_url":"https://api.github.com/users/michael/gists{/gist_id}","starred_url":"https://api.github.com/users/michael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael/subscriptions","organizations_url":"https://api.github.com/users/michael/orgs","repos_url":"https://api.github.com/users/michael/repos","events_url":"https://api.github.com/users/michael/events{/privacy}","received_events_url":"https://api.github.com/users/michael/received_events","type":"User","site_admin":false},"created_at":"2016-02-20T15:28:13Z","updated_at":"2016-02-20T15:28:13Z","body":"Express is the quasi-standard. 99% of node apps use express. It's fine if we bind to that for now. I'm open for suggestions to do it better.\r\n\r\nWhat I want to acchieve is having the functionality within CollabHub, so it comes as one package. And i also just want one line to activate it in server.js."}}