{"action":"created","issue":{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/27","labels_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/27/comments","events_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/27/events","html_url":"https://github.com/mxstbr/react-boilerplate/issues/27","id":122825214,"number":27,"title":"Application Structure","user":{"login":"mxstbr","id":7525670,"avatar_url":"https://avatars.githubusercontent.com/u/7525670?v=3","gravatar_id":"","url":"https://api.github.com/users/mxstbr","html_url":"https://github.com/mxstbr","followers_url":"https://api.github.com/users/mxstbr/followers","following_url":"https://api.github.com/users/mxstbr/following{/other_user}","gists_url":"https://api.github.com/users/mxstbr/gists{/gist_id}","starred_url":"https://api.github.com/users/mxstbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxstbr/subscriptions","organizations_url":"https://api.github.com/users/mxstbr/orgs","repos_url":"https://api.github.com/users/mxstbr/repos","events_url":"https://api.github.com/users/mxstbr/events{/privacy}","received_events_url":"https://api.github.com/users/mxstbr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/labels/discussion","name":"discussion","color":"cc317c"},{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":{"login":"mxstbr","id":7525670,"avatar_url":"https://avatars.githubusercontent.com/u/7525670?v=3","gravatar_id":"","url":"https://api.github.com/users/mxstbr","html_url":"https://github.com/mxstbr","followers_url":"https://api.github.com/users/mxstbr/followers","following_url":"https://api.github.com/users/mxstbr/following{/other_user}","gists_url":"https://api.github.com/users/mxstbr/gists{/gist_id}","starred_url":"https://api.github.com/users/mxstbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxstbr/subscriptions","organizations_url":"https://api.github.com/users/mxstbr/orgs","repos_url":"https://api.github.com/users/mxstbr/repos","events_url":"https://api.github.com/users/mxstbr/events{/privacy}","received_events_url":"https://api.github.com/users/mxstbr/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/milestones/1","html_url":"https://github.com/mxstbr/react-boilerplate/milestones/v3.0","labels_url":"https://api.github.com/repos/mxstbr/react-boilerplate/milestones/1/labels","id":1473614,"number":1,"title":"v3.0","description":null,"creator":{"login":"mxstbr","id":7525670,"avatar_url":"https://avatars.githubusercontent.com/u/7525670?v=3","gravatar_id":"","url":"https://api.github.com/users/mxstbr","html_url":"https://github.com/mxstbr","followers_url":"https://api.github.com/users/mxstbr/followers","following_url":"https://api.github.com/users/mxstbr/following{/other_user}","gists_url":"https://api.github.com/users/mxstbr/gists{/gist_id}","starred_url":"https://api.github.com/users/mxstbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxstbr/subscriptions","organizations_url":"https://api.github.com/users/mxstbr/orgs","repos_url":"https://api.github.com/users/mxstbr/repos","events_url":"https://api.github.com/users/mxstbr/events{/privacy}","received_events_url":"https://api.github.com/users/mxstbr/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":2,"state":"open","created_at":"2015-12-24T11:34:46Z","updated_at":"2015-12-27T12:04:18Z","due_on":null,"closed_at":null},"comments":20,"created_at":"2015-12-17T21:19:29Z","updated_at":"2015-12-28T19:40:07Z","closed_at":null,"body":"Changing the application structure might be worth thinking about, right now the thing might seem quite bloated and randomly thrown together for newcomers."},"comment":{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/comments/167636788","html_url":"https://github.com/mxstbr/react-boilerplate/issues/27#issuecomment-167636788","issue_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/27","id":167636788,"user":{"login":"mxstbr","id":7525670,"avatar_url":"https://avatars.githubusercontent.com/u/7525670?v=3","gravatar_id":"","url":"https://api.github.com/users/mxstbr","html_url":"https://github.com/mxstbr","followers_url":"https://api.github.com/users/mxstbr/followers","following_url":"https://api.github.com/users/mxstbr/following{/other_user}","gists_url":"https://api.github.com/users/mxstbr/gists{/gist_id}","starred_url":"https://api.github.com/users/mxstbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxstbr/subscriptions","organizations_url":"https://api.github.com/users/mxstbr/orgs","repos_url":"https://api.github.com/users/mxstbr/repos","events_url":"https://api.github.com/users/mxstbr/events{/privacy}","received_events_url":"https://api.github.com/users/mxstbr/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T19:40:07Z","updated_at":"2015-12-28T19:40:07Z","body":"A few thoughts later:\r\n\r\n```\r\napp/\r\n|- assets/\r\n|  |- img/\r\n|  |- fonts/\r\n|- global/    <--- Can also put global actions/reducers/... in here as well\r\n|  |- css/\r\n|     |- vendor/\r\n|     |- utils/\r\n|     |- main.css\r\n|- components/\r\n|  |- NavBar/\r\n|     |- NavBar.react.js\r\n|     |- NavBar.css\r\n|     |- NavBar.test.js\r\n|  |- Button/\r\n|     |- Button.react.js\r\n|     |- Button.css\r\n|     |- Button.test.js\r\n|- containers/\r\n|  |- HomePage/\r\n|     |- HomePage.react.js\r\n|     |- HomePage.css\r\n|     |- HomePage.test.js\r\n|     |- HomePageActions.js\r\n|     |- HomePageConstants.js    \r\n|     |- HomePageReducer.js\r\n|- .htaccess\r\n|- index.html\r\n|- manifest.json\r\n|- serviceworker.js\r\n```\r\n\r\nMain changes:\r\n\r\n- No need for separate global actions/reducers/constants folders, lets put all of those plus the global CSS folder in a `global/` folder.\r\n\r\n- No need for another wrapping folder around containers and components, those can live comfortably in the root folder\r\n\r\nThis one is much cleaner and smaller, while keeping the functionality fully intact. (As far as I can see)\r\n\r\n"}}