{"action":"created","issue":{"url":"https://api.github.com/repos/KimDahye/NEXTStudentNetwork/issues/67","repository_url":"https://api.github.com/repos/KimDahye/NEXTStudentNetwork","labels_url":"https://api.github.com/repos/KimDahye/NEXTStudentNetwork/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/KimDahye/NEXTStudentNetwork/issues/67/comments","events_url":"https://api.github.com/repos/KimDahye/NEXTStudentNetwork/issues/67/events","html_url":"https://github.com/KimDahye/NEXTStudentNetwork/issues/67","id":130940964,"number":67,"title":"route.js 기능별로 파일 분리 ","user":{"login":"honux77","id":2168702,"avatar_url":"https://avatars.githubusercontent.com/u/2168702?v=3","gravatar_id":"","url":"https://api.github.com/users/honux77","html_url":"https://github.com/honux77","followers_url":"https://api.github.com/users/honux77/followers","following_url":"https://api.github.com/users/honux77/following{/other_user}","gists_url":"https://api.github.com/users/honux77/gists{/gist_id}","starred_url":"https://api.github.com/users/honux77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honux77/subscriptions","organizations_url":"https://api.github.com/users/honux77/orgs","repos_url":"https://api.github.com/users/honux77/repos","events_url":"https://api.github.com/users/honux77/events{/privacy}","received_events_url":"https://api.github.com/users/honux77/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/KimDahye/NEXTStudentNetwork/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"honux77","id":2168702,"avatar_url":"https://avatars.githubusercontent.com/u/2168702?v=3","gravatar_id":"","url":"https://api.github.com/users/honux77","html_url":"https://github.com/honux77","followers_url":"https://api.github.com/users/honux77/followers","following_url":"https://api.github.com/users/honux77/following{/other_user}","gists_url":"https://api.github.com/users/honux77/gists{/gist_id}","starred_url":"https://api.github.com/users/honux77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honux77/subscriptions","organizations_url":"https://api.github.com/users/honux77/orgs","repos_url":"https://api.github.com/users/honux77/repos","events_url":"https://api.github.com/users/honux77/events{/privacy}","received_events_url":"https://api.github.com/users/honux77/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-02-03T07:36:37Z","updated_at":"2016-02-15T03:17:25Z","closed_at":null,"body":"코드가 점점 지저분해져서 기능별로 분리를 했으면 좋겠어요. \r\n\r\n---- 남세가 이렇게 하면 된다고 합니다. -- \r\nURL Path에 따라 파일을 다르게 설정하고 싶으시면(프로파일은 프로파일js, 로그인관련은 로그인js에 모아두는 것을 원하시면)\r\n\r\nwebapp/src/app.js 안에다가\r\n\r\nrequire(path.join(SRC_ROOT,'routes/login.js'))(app, passport);\r\nrequire(path.join(SRC_ROOT,'routes/profile.js'))(app, passport);\r\n\r\n처럼 하시고, login.js 나 profile.js를 routes/route.js처럼 똑같이 만드시면 되겠네요! ㅎㅎ\r\n"},"comment":{"url":"https://api.github.com/repos/KimDahye/NEXTStudentNetwork/issues/comments/184047094","html_url":"https://github.com/KimDahye/NEXTStudentNetwork/issues/67#issuecomment-184047094","issue_url":"https://api.github.com/repos/KimDahye/NEXTStudentNetwork/issues/67","id":184047094,"user":{"login":"KimDahye","id":6873655,"avatar_url":"https://avatars.githubusercontent.com/u/6873655?v=3","gravatar_id":"","url":"https://api.github.com/users/KimDahye","html_url":"https://github.com/KimDahye","followers_url":"https://api.github.com/users/KimDahye/followers","following_url":"https://api.github.com/users/KimDahye/following{/other_user}","gists_url":"https://api.github.com/users/KimDahye/gists{/gist_id}","starred_url":"https://api.github.com/users/KimDahye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KimDahye/subscriptions","organizations_url":"https://api.github.com/users/KimDahye/orgs","repos_url":"https://api.github.com/users/KimDahye/repos","events_url":"https://api.github.com/users/KimDahye/events{/privacy}","received_events_url":"https://api.github.com/users/KimDahye/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T03:17:25Z","updated_at":"2016-02-15T03:17:25Z","body":"넵~"}}