{"action":"opened","issue":{"url":"https://api.github.com/repos/open-austin/budgetparty/issues/202","repository_url":"https://api.github.com/repos/open-austin/budgetparty","labels_url":"https://api.github.com/repos/open-austin/budgetparty/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/open-austin/budgetparty/issues/202/comments","events_url":"https://api.github.com/repos/open-austin/budgetparty/issues/202/events","html_url":"https://github.com/open-austin/budgetparty/issues/202","id":239977157,"number":202,"title":"Client side routing","user":{"login":"prestonp","id":1265379,"avatar_url":"https://avatars3.githubusercontent.com/u/1265379?v=3","gravatar_id":"","url":"https://api.github.com/users/prestonp","html_url":"https://github.com/prestonp","followers_url":"https://api.github.com/users/prestonp/followers","following_url":"https://api.github.com/users/prestonp/following{/other_user}","gists_url":"https://api.github.com/users/prestonp/gists{/gist_id}","starred_url":"https://api.github.com/users/prestonp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prestonp/subscriptions","organizations_url":"https://api.github.com/users/prestonp/orgs","repos_url":"https://api.github.com/users/prestonp/repos","events_url":"https://api.github.com/users/prestonp/events{/privacy}","received_events_url":"https://api.github.com/users/prestonp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-01T23:02:08Z","updated_at":"2017-07-01T23:02:08Z","closed_at":null,"body":"So for single-page applications we need to figure out how we want to handle routing.\r\n\r\nIf we're going to host on github pages, we'll probably have to use HashRouter because we can't have sub-paths like https://austinbudget.party/home or https://austinbudget.party/login serve the javascript bundle. If we switch to HashRouter, the urls will look like https://austinbudget.party#home and https://austinbudget.party#login\r\n\r\nIf we want to keep normal looking urls, we will need to set up a web server that serves same  html/javascript for ALL urls. Then the BrowserRouter will look at the `document.location` and route normally.\r\n\r\nSo, the one line to address this is here:\r\n\r\nhttps://github.com/open-austin/budgetparty/blob/master/app/src/components/index.js#L8\r\n\r\n@mateoclarke @VictoriaODell  Do you guys have a preference for hosting or how the urls look?\r\n\r\nMore background: https://github.com/open-austin/budgetparty-landing/issues/6"}}
{"actor":{"display_login":"prestonp"}}