{"action":"created","issue":{"url":"https://api.github.com/repos/inadarei/nodebootstrap/issues/26","labels_url":"https://api.github.com/repos/inadarei/nodebootstrap/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/inadarei/nodebootstrap/issues/26/comments","events_url":"https://api.github.com/repos/inadarei/nodebootstrap/issues/26/events","html_url":"https://github.com/inadarei/nodebootstrap/issues/26","id":58529513,"number":26,"title":"[Question] How would be the best way to integrate Socket.io?","user":{"login":"carlosbaraza","id":1270425,"avatar_url":"https://avatars.githubusercontent.com/u/1270425?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosbaraza","html_url":"https://github.com/carlosbaraza","followers_url":"https://api.github.com/users/carlosbaraza/followers","following_url":"https://api.github.com/users/carlosbaraza/following{/other_user}","gists_url":"https://api.github.com/users/carlosbaraza/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosbaraza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosbaraza/subscriptions","organizations_url":"https://api.github.com/users/carlosbaraza/orgs","repos_url":"https://api.github.com/users/carlosbaraza/repos","events_url":"https://api.github.com/users/carlosbaraza/events{/privacy}","received_events_url":"https://api.github.com/users/carlosbaraza/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-22T23:55:26Z","updated_at":"2015-04-13T02:39:15Z","closed_at":null,"body":"As part of my project, I need to integrate socket.io.\r\n\r\nThe way I found the cleanest was to modify the nodebootstrap-server to use the http library when listening the port and exposing the http handle to the callback so I could use that http handler in the server.js file to bind socket.io.\r\n\r\nAny ideas on how to do this better? To be honest I don't like to depend on the nodebootstrap-server module. Maybe it could be a better aproach to expose those files in the project folder so they could be modified when needed (like my case)?\r\n\r\nThank you for this great bootstrap project.\r\nCarlos."},"comment":{"url":"https://api.github.com/repos/inadarei/nodebootstrap/issues/comments/92175747","html_url":"https://github.com/inadarei/nodebootstrap/issues/26#issuecomment-92175747","issue_url":"https://api.github.com/repos/inadarei/nodebootstrap/issues/26","id":92175747,"user":{"login":"inadarei","id":30158,"avatar_url":"https://avatars.githubusercontent.com/u/30158?v=3","gravatar_id":"","url":"https://api.github.com/users/inadarei","html_url":"https://github.com/inadarei","followers_url":"https://api.github.com/users/inadarei/followers","following_url":"https://api.github.com/users/inadarei/following{/other_user}","gists_url":"https://api.github.com/users/inadarei/gists{/gist_id}","starred_url":"https://api.github.com/users/inadarei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inadarei/subscriptions","organizations_url":"https://api.github.com/users/inadarei/orgs","repos_url":"https://api.github.com/users/inadarei/repos","events_url":"https://api.github.com/users/inadarei/events{/privacy}","received_events_url":"https://api.github.com/users/inadarei/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T02:39:15Z","updated_at":"2015-04-13T02:39:15Z","body":"Thank you! This is super-helpful and really helped clarify the two approaches. They are, indeed, identical.\r\n\r\nAppreciate your time and the pull request, very much.\r\n\r\nMerging…"}}