{"comment":{"url":"https://api.github.com/repos/nerevu/uptime/comments/12270818","html_url":"https://github.com/nerevu/uptime/commit/06ff724cb6255fda4223eb24754ced0d254eb170#commitcomment-12270818","id":12270818,"user":{"login":"reubano","id":157864,"avatar_url":"https://avatars.githubusercontent.com/u/157864?v=3","gravatar_id":"","url":"https://api.github.com/users/reubano","html_url":"https://github.com/reubano","followers_url":"https://api.github.com/users/reubano/followers","following_url":"https://api.github.com/users/reubano/following{/other_user}","gists_url":"https://api.github.com/users/reubano/gists{/gist_id}","starred_url":"https://api.github.com/users/reubano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reubano/subscriptions","organizations_url":"https://api.github.com/users/reubano/orgs","repos_url":"https://api.github.com/users/reubano/repos","events_url":"https://api.github.com/users/reubano/events{/privacy}","received_events_url":"https://api.github.com/users/reubano/received_events","type":"User","site_admin":false},"position":4,"line":132,"path":"lib/pollers/oauthHttps/httpsPoller.js","commit_id":"06ff724cb6255fda4223eb24754ced0d254eb170","created_at":"2015-07-21T09:37:26Z","updated_at":"2015-07-21T09:37:26Z","body":"Take a look at my [commits](https://github.com/nerevu/uptime/commits/features) starting Apr. 15th. That should give you a good idea of how I separated the front from the back. Then it is just a matter of pointing the frontend to the api over http. It will require a ton of work though. Since I haven't yet started working on the frontend, I don't know exactly where all the places are that need to be decoupled still. If you take a look and let me know if anything doesn't make sense, I'll do my best to explain.\r\n\r\nMy personal plan is to create a backbonejs/chaplinjs app for the frontend, so basically a total rewrite.\r\n\r\nRe: you second point, take a look at my implementation and let me know if it suffers from the same issue.\r\n - https://github.com/nerevu/uptime/blob/features/api/models/check.js#L89\r\n - https://github.com/nerevu/uptime/blob/features/api/models/monitor.js#L82"}}