{"action":"created","issue":{"url":"https://api.github.com/repos/Kasulejoseph/fast-food-fast-db/issues/6","repository_url":"https://api.github.com/repos/Kasulejoseph/fast-food-fast-db","labels_url":"https://api.github.com/repos/Kasulejoseph/fast-food-fast-db/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Kasulejoseph/fast-food-fast-db/issues/6/comments","events_url":"https://api.github.com/repos/Kasulejoseph/fast-food-fast-db/issues/6/events","html_url":"https://github.com/Kasulejoseph/fast-food-fast-db/pull/6","id":366312319,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwMDE2MTA2","number":6,"title":"#160819084 Ft order history to develop","user":{"login":"Kasulejoseph","id":32167860,"node_id":"MDQ6VXNlcjMyMTY3ODYw","avatar_url":"https://avatars2.githubusercontent.com/u/32167860?v=4","gravatar_id":"","url":"https://api.github.com/users/Kasulejoseph","html_url":"https://github.com/Kasulejoseph","followers_url":"https://api.github.com/users/Kasulejoseph/followers","following_url":"https://api.github.com/users/Kasulejoseph/following{/other_user}","gists_url":"https://api.github.com/users/Kasulejoseph/gists{/gist_id}","starred_url":"https://api.github.com/users/Kasulejoseph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kasulejoseph/subscriptions","organizations_url":"https://api.github.com/users/Kasulejoseph/orgs","repos_url":"https://api.github.com/users/Kasulejoseph/repos","events_url":"https://api.github.com/users/Kasulejoseph/events{/privacy}","received_events_url":"https://api.github.com/users/Kasulejoseph/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-03T12:20:15Z","updated_at":"2018-10-03T14:42:40Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/Kasulejoseph/fast-food-fast-db/pulls/6","html_url":"https://github.com/Kasulejoseph/fast-food-fast-db/pull/6","diff_url":"https://github.com/Kasulejoseph/fast-food-fast-db/pull/6.diff","patch_url":"https://github.com/Kasulejoseph/fast-food-fast-db/pull/6.patch"},"body":"**What this PR do?**\r\n ** Add order history and menu end points \r\n**Description of tasks to be completed***\r\n **A user should be able to add to view all the his previous orders\r\ngiven he browser the end point `/api/v1/orders`.\r\n**The PR also add a functionality of the admin to add `GET /api/v1/menu` a menu and \r\nusers to view all the posted menu `POST /api/v1/menu`\r\n**How to manually test**\r\n**Log in as a user in postman\r\n**Browse the route `localhost:5000/api/v1/orders` and your previous orders will be\r\ndisplayed in case you have\r\n*To add menu*\r\n**Login as an admin, insert menu fields and post\r\n*To see menu*\r\n**you create a get request on `/api/v1/menu`\r\n**Relevant Stories**\r\n#160822749\r\n#160819084\r\n\r\n**Screenshots**\r\n1. order history\r\n![orderhist](https://user-images.githubusercontent.com/32167860/46409779-665bb580-c71f-11e8-8db8-617058059866.png)\r\n\r\n2. menu\r\n![onmenu](https://user-images.githubusercontent.com/32167860/46409875-b470b900-c71f-11e8-8952-c8261d8d0b5e.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Kasulejoseph/fast-food-fast-db/issues/comments/426663553","html_url":"https://github.com/Kasulejoseph/fast-food-fast-db/pull/6#issuecomment-426663553","issue_url":"https://api.github.com/repos/Kasulejoseph/fast-food-fast-db/issues/6","id":426663553,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjY2MzU1Mw==","user":{"login":"kafuuma","id":39337548,"node_id":"MDQ6VXNlcjM5MzM3NTQ4","avatar_url":"https://avatars2.githubusercontent.com/u/39337548?v=4","gravatar_id":"","url":"https://api.github.com/users/kafuuma","html_url":"https://github.com/kafuuma","followers_url":"https://api.github.com/users/kafuuma/followers","following_url":"https://api.github.com/users/kafuuma/following{/other_user}","gists_url":"https://api.github.com/users/kafuuma/gists{/gist_id}","starred_url":"https://api.github.com/users/kafuuma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kafuuma/subscriptions","organizations_url":"https://api.github.com/users/kafuuma/orgs","repos_url":"https://api.github.com/users/kafuuma/repos","events_url":"https://api.github.com/users/kafuuma/events{/privacy}","received_events_url":"https://api.github.com/users/kafuuma/received_events","type":"User","site_admin":false},"created_at":"2018-10-03T14:42:40Z","updated_at":"2018-10-03T14:42:40Z","author_association":"NONE","body":"I see you are implementing OOP\r\nvery good\r\n\r\nU can also include a screenshot of your tests running in the PR file"}}
{"actor":{"display_login":"kafuuma"}}