{"id":20374266,"url":"https://github.com/snwfdhmp/pizzaman","last_synced_at":"2025-05-08T08:31:56.940Z","repository":{"id":98729406,"uuid":"99807067","full_name":"snwfdhmp/pizzaman","owner":"snwfdhmp","description":"Simple practice API for ordering pizzas. Practice some Golang.","archived":true,"fork":false,"pushed_at":"2017-10-16T13:06:57.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-01T21:13:48.345Z","etag":null,"topics":["api-server","http-server","pizza","practice-programming","practice-project"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/snwfdhmp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-09T12:42:12.000Z","updated_at":"2023-10-10T03:48:34.000Z","dependencies_parsed_at":"2023-05-25T01:15:33.862Z","dependency_job_id":null,"html_url":"https://github.com/snwfdhmp/pizzaman","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snwfdhmp%2Fpizzaman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snwfdhmp%2Fpizzaman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snwfdhmp%2Fpizzaman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snwfdhmp%2Fpizzaman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snwfdhmp","download_url":"https://codeload.github.com/snwfdhmp/pizzaman/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253029124,"owners_count":21843024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-server","http-server","pizza","practice-programming","practice-project"],"created_at":"2024-11-15T01:23:17.476Z","updated_at":"2025-05-08T08:31:56.931Z","avatar_url":"https://github.com/snwfdhmp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pizzaman - Order your pizza !\n\n## Order a pizza\n\n`curl localhost:9876/yourSauce/yourMeat/yourCheese`\n\nIf you want one of your pizza's part to be skipped, just say \"no\"\n\n### Examples\n\n#### Pizza with only ketchup and emmental\n\n`curl localhost:9876/ketchup/no/emmental`\n\n#### Pizza with buffalo sauce, bacon and mozzarella\n\n`curl localhost:9876/buffalo/bacon/mozzarella`\n\n### Fridge\n\nAvailable sauces:\n\n\t- tomato\n\t- ketchup\n\t- classico\n\t- italian\n\t- buffalo\n\t- supreme\n\nAvailable meats:\n\n\t- chicken\n\t- bacon\n\nAvailable cheeses :\n\n\t- goat\n\t- mozzarella\n\t- emmental\n\t- ricotta\n\t- provolone\n\t- cheddar\n\t- romano\n\n## See your pizza's state\n\nAsk the pizzaman by send a request on `howismypizza/yourTicketNumber`\n\nExample :\n\n```\n$ curl 0:9876/order/supreme/chicken/goat\n{\"message\":\"Your order has been taken\",\"pizza\":{\"sauce\":\"supreme\",\"meat\":\"chicken\",\"cheese\":\"goat\"},\"ticket\":\"1fb1\"}\n```\n\nMy ticket number is 1fb1, so let's ask the pizzaman\n\n```\n$ curl 0:9876/howismypizza/1fb1\npending\n```\n\nA few seconds later ...\n\n```\ncurl 0:9876/howismypizza/1fb1\nprepared\n```\n\n## Ask questions\n\nYou can ask questions to the pizzaman, as simply as `curl localhost:9876/yourQuestionFormat`\n\n\n| Question | Format |\n| --- | --- |\n|What sauces do you have ? | whatsaucesdoyouhave |\n|What meats do you have ? | whatmeatsdoyouhave |\n|What cheeses do you have ? | whatcheesesdoyouhave |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnwfdhmp%2Fpizzaman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnwfdhmp%2Fpizzaman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnwfdhmp%2Fpizzaman/lists"}