{"action":"created","issue":{"url":"https://api.github.com/repos/nolanlawson/pokedex.org/issues/2","labels_url":"https://api.github.com/repos/nolanlawson/pokedex.org/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/nolanlawson/pokedex.org/issues/2/comments","events_url":"https://api.github.com/repos/nolanlawson/pokedex.org/issues/2/events","html_url":"https://github.com/nolanlawson/pokedex.org/issues/2","id":118453200,"number":2,"title":"Add routing","user":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-23T19:25:04Z","updated_at":"2015-11-30T21:12:45Z","closed_at":null,"body":"A few things that are needed:\r\n\r\n1. A URL for each Pokemon, e.g. `pokedex.org/001` for bulbasaur\r\n2. Back/forward events handled correctly\r\n3. All of the above working with refresh\r\n4. All of the above working with ServiceWorker\r\n\r\nDue to the complexity of using the actual HTML5 History API and therefore needing to duplicate the logic in the client, server, *and* the ServiceWorker, I would probably prefer to just use good ol' fashioned hashchange events, unless someone can convince me otherwise. (Yes, the URLs will look ugly; but hey, it'll be easy to implement.)\r\n\r\nEither Page.js or Ampersand Router look like good candidates for this."},"comment":{"url":"https://api.github.com/repos/nolanlawson/pokedex.org/issues/comments/160763078","html_url":"https://github.com/nolanlawson/pokedex.org/issues/2#issuecomment-160763078","issue_url":"https://api.github.com/repos/nolanlawson/pokedex.org/issues/2","id":160763078,"user":{"login":"jessetane","id":452396,"avatar_url":"https://avatars.githubusercontent.com/u/452396?v=3","gravatar_id":"","url":"https://api.github.com/users/jessetane","html_url":"https://github.com/jessetane","followers_url":"https://api.github.com/users/jessetane/followers","following_url":"https://api.github.com/users/jessetane/following{/other_user}","gists_url":"https://api.github.com/users/jessetane/gists{/gist_id}","starred_url":"https://api.github.com/users/jessetane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessetane/subscriptions","organizations_url":"https://api.github.com/users/jessetane/orgs","repos_url":"https://api.github.com/users/jessetane/repos","events_url":"https://api.github.com/users/jessetane/events{/privacy}","received_events_url":"https://api.github.com/users/jessetane/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T21:12:45Z","updated_at":"2015-11-30T21:12:45Z","body":"https://kkob.us/2015/11/24/hosting-a-single-page-app-on-s3-with-proper-urls/"}}