{"action":"created","issue":{"url":"https://api.github.com/repos/hueniverse/hueniversity/issues/43","labels_url":"https://api.github.com/repos/hueniverse/hueniversity/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/hueniverse/hueniversity/issues/43/comments","events_url":"https://api.github.com/repos/hueniverse/hueniversity/issues/43/events","html_url":"https://github.com/hueniverse/hueniversity/issues/43","id":62741783,"number":43,"title":"Convert to a plugin","user":{"login":"hueniverse","id":56631,"avatar_url":"https://avatars.githubusercontent.com/u/56631?v=3","gravatar_id":"","url":"https://api.github.com/users/hueniverse","html_url":"https://github.com/hueniverse","followers_url":"https://api.github.com/users/hueniverse/followers","following_url":"https://api.github.com/users/hueniverse/following{/other_user}","gists_url":"https://api.github.com/users/hueniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/hueniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hueniverse/subscriptions","organizations_url":"https://api.github.com/users/hueniverse/orgs","repos_url":"https://api.github.com/users/hueniverse/repos","events_url":"https://api.github.com/users/hueniverse/events{/privacy}","received_events_url":"https://api.github.com/users/hueniverse/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hueniverse/hueniversity/labels/assignment","name":"assignment","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/hueniverse/hueniversity/milestones/2","html_url":"https://github.com/hueniverse/hueniversity/milestones/0.0.2","labels_url":"https://api.github.com/repos/hueniverse/hueniversity/milestones/2/labels","id":1027704,"number":2,"title":"0.0.2","description":"","creator":{"login":"hueniverse","id":56631,"avatar_url":"https://avatars.githubusercontent.com/u/56631?v=3","gravatar_id":"","url":"https://api.github.com/users/hueniverse","html_url":"https://github.com/hueniverse","followers_url":"https://api.github.com/users/hueniverse/followers","following_url":"https://api.github.com/users/hueniverse/following{/other_user}","gists_url":"https://api.github.com/users/hueniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/hueniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hueniverse/subscriptions","organizations_url":"https://api.github.com/users/hueniverse/orgs","repos_url":"https://api.github.com/users/hueniverse/repos","events_url":"https://api.github.com/users/hueniverse/events{/privacy}","received_events_url":"https://api.github.com/users/hueniverse/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2015-03-18T16:53:46Z","updated_at":"2015-03-18T17:00:43Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-03-18T17:00:43Z","updated_at":"2015-03-18T17:42:27Z","closed_at":null,"body":"The right way to work with hapi is to build your application using plugins. Plugins provide a way to organize your code into logical components and then put them together in different combinations or deploy them in different configurations. While some plugins are published as general purpose utilities (e.g. adding authentication), you should think of plugins as a way to break your code into pieces.\r\n\r\nNow that we have a basic server with one endpoint, we want to move the creation of the endpoint to a [plugin](http://hapijs.com/tutorials/plugins), and then register that plugin with the server. Creating a new file `lib/version.js` and move the `/version` endpoint there, wrapped in the plugin `register()` function.\r\n\r\nThen change our current `lib/index.js` to require the new file and register the version plugin with our server.\r\n\r\nRemember to follow the style guide, and ask any questions right here in the comments. If you are not sure how to get your fork back in sync with the current updated code, use the [git guide](https://github.com/hueniverse/hueniversity/blob/master/guides/git.md).\r\n\r\nAssignment due: 3/24"},"comment":{"url":"https://api.github.com/repos/hueniverse/hueniversity/issues/comments/83082408","html_url":"https://github.com/hueniverse/hueniversity/issues/43#issuecomment-83082408","issue_url":"https://api.github.com/repos/hueniverse/hueniversity/issues/43","id":83082408,"user":{"login":"AdriVanHoudt","id":2361826,"avatar_url":"https://avatars.githubusercontent.com/u/2361826?v=3","gravatar_id":"","url":"https://api.github.com/users/AdriVanHoudt","html_url":"https://github.com/AdriVanHoudt","followers_url":"https://api.github.com/users/AdriVanHoudt/followers","following_url":"https://api.github.com/users/AdriVanHoudt/following{/other_user}","gists_url":"https://api.github.com/users/AdriVanHoudt/gists{/gist_id}","starred_url":"https://api.github.com/users/AdriVanHoudt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdriVanHoudt/subscriptions","organizations_url":"https://api.github.com/users/AdriVanHoudt/orgs","repos_url":"https://api.github.com/users/AdriVanHoudt/repos","events_url":"https://api.github.com/users/AdriVanHoudt/events{/privacy}","received_events_url":"https://api.github.com/users/AdriVanHoudt/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T17:42:27Z","updated_at":"2015-03-18T17:42:27Z","body":"yeah I guess and I noticed the noise to. How come? Looks like the same commit every time?"}}