{"action":"created","issue":{"url":"https://api.github.com/repos/hapijs/hapi/issues/2479","labels_url":"https://api.github.com/repos/hapijs/hapi/issues/2479/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/hapi/issues/2479/comments","events_url":"https://api.github.com/repos/hapijs/hapi/issues/2479/events","html_url":"https://github.com/hapijs/hapi/issues/2479","id":63728905,"number":2479,"title":"Best Practice Project Structure","user":{"login":"puchesjr","id":1323274,"avatar_url":"https://avatars.githubusercontent.com/u/1323274?v=3","gravatar_id":"","url":"https://api.github.com/users/puchesjr","html_url":"https://github.com/puchesjr","followers_url":"https://api.github.com/users/puchesjr/followers","following_url":"https://api.github.com/users/puchesjr/following{/other_user}","gists_url":"https://api.github.com/users/puchesjr/gists{/gist_id}","starred_url":"https://api.github.com/users/puchesjr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puchesjr/subscriptions","organizations_url":"https://api.github.com/users/puchesjr/orgs","repos_url":"https://api.github.com/users/puchesjr/repos","events_url":"https://api.github.com/users/puchesjr/events{/privacy}","received_events_url":"https://api.github.com/users/puchesjr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-23T13:57:01Z","updated_at":"2015-03-23T16:36:04Z","closed_at":null,"body":"When building an ReST API project, what would be the best project structure to keep things HAPI? \r\n\r\nI currently have the following structure \r\n```\r\nproject\r\n  -node_modules\r\n  -server\r\n     -server.js\r\n      -routes.js\r\n      -config\r\n          -config.js\r\n          -db.js\r\n      -controllers\r\n          -example.js\r\n      -models\r\n          -example.js\r\n      -server.js\r\n  -package.json\r\n```         "},"comment":{"url":"https://api.github.com/repos/hapijs/hapi/issues/comments/85083868","html_url":"https://github.com/hapijs/hapi/issues/2479#issuecomment-85083868","issue_url":"https://api.github.com/repos/hapijs/hapi/issues/2479","id":85083868,"user":{"login":"simon-p-r","id":4668724,"avatar_url":"https://avatars.githubusercontent.com/u/4668724?v=3","gravatar_id":"","url":"https://api.github.com/users/simon-p-r","html_url":"https://github.com/simon-p-r","followers_url":"https://api.github.com/users/simon-p-r/followers","following_url":"https://api.github.com/users/simon-p-r/following{/other_user}","gists_url":"https://api.github.com/users/simon-p-r/gists{/gist_id}","starred_url":"https://api.github.com/users/simon-p-r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simon-p-r/subscriptions","organizations_url":"https://api.github.com/users/simon-p-r/orgs","repos_url":"https://api.github.com/users/simon-p-r/repos","events_url":"https://api.github.com/users/simon-p-r/events{/privacy}","received_events_url":"https://api.github.com/users/simon-p-r/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T16:36:04Z","updated_at":"2015-03-23T16:36:04Z","body":"The project is quite large and haven't encountered that problem "}}