{"action":"created","issue":{"url":"https://api.github.com/repos/futurice/hours-ui/issues/21","repository_url":"https://api.github.com/repos/futurice/hours-ui","labels_url":"https://api.github.com/repos/futurice/hours-ui/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/futurice/hours-ui/issues/21/comments","events_url":"https://api.github.com/repos/futurice/hours-ui/issues/21/events","html_url":"https://github.com/futurice/hours-ui/issues/21","id":170895001,"number":21,"title":"Mock API 404","user":{"login":"whitebook","id":669415,"avatar_url":"https://avatars.githubusercontent.com/u/669415?v=3","gravatar_id":"","url":"https://api.github.com/users/whitebook","html_url":"https://github.com/whitebook","followers_url":"https://api.github.com/users/whitebook/followers","following_url":"https://api.github.com/users/whitebook/following{/other_user}","gists_url":"https://api.github.com/users/whitebook/gists{/gist_id}","starred_url":"https://api.github.com/users/whitebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitebook/subscriptions","organizations_url":"https://api.github.com/users/whitebook/orgs","repos_url":"https://api.github.com/users/whitebook/repos","events_url":"https://api.github.com/users/whitebook/events{/privacy}","received_events_url":"https://api.github.com/users/whitebook/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-12T15:18:10Z","updated_at":"2016-08-12T15:38:08Z","closed_at":null,"body":"Hello.\r\n\r\nI was following this nice project, I was curious why I get a 404 trying to access the mock API?\r\n\r\nhttps://github.com/futurice/hours-ui-mock-api\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/futurice/hours-ui/issues/comments/239480420","html_url":"https://github.com/futurice/hours-ui/issues/21#issuecomment-239480420","issue_url":"https://api.github.com/repos/futurice/hours-ui/issues/21","id":239480420,"user":{"login":"janivihervas","id":6649492,"avatar_url":"https://avatars.githubusercontent.com/u/6649492?v=3","gravatar_id":"","url":"https://api.github.com/users/janivihervas","html_url":"https://github.com/janivihervas","followers_url":"https://api.github.com/users/janivihervas/followers","following_url":"https://api.github.com/users/janivihervas/following{/other_user}","gists_url":"https://api.github.com/users/janivihervas/gists{/gist_id}","starred_url":"https://api.github.com/users/janivihervas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janivihervas/subscriptions","organizations_url":"https://api.github.com/users/janivihervas/orgs","repos_url":"https://api.github.com/users/janivihervas/repos","events_url":"https://api.github.com/users/janivihervas/events{/privacy}","received_events_url":"https://api.github.com/users/janivihervas/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T15:38:08Z","updated_at":"2016-08-12T15:38:08Z","body":"Without knowing more, you either don't have the mock api running, or you are not running the ui with `npm run serve` or with `docker-compose`. The api is behind a reverse proxy, and that is configured only for the `webpack-dev-server` and Docker image. \r\n\r\nCould you try with these instructions and comment on your progress:\r\n1. Build the Docker image for the mock api with `./dockerBuild.sh` in `hours-ui-mock-api` folder\r\n2. Build the Docker image for the ui with `npm run docker:build` in `hours-ui` folder \r\n3. Run `docker-compose -p hours up -d` in `hours-ui` folder\r\n4. Open `http://localhost` in your browser"}}
{"actor":{"display_login":"janivihervas"}}