{"id":20147748,"url":"https://github.com/isur/pizzeria","last_synced_at":"2025-05-06T21:34:17.144Z","repository":{"id":106571980,"uuid":"162132504","full_name":"Isur/pizzeria","owner":"Isur","description":"V Semester Project. Javascript, react, node - Web Pizzeria.","archived":true,"fork":false,"pushed_at":"2019-01-14T16:29:37.000Z","size":303,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T00:23:41.274Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Isur.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":"2018-12-17T13:11:27.000Z","updated_at":"2024-02-29T18:31:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"760431d2-abb8-4a82-a829-848d28ee854a","html_url":"https://github.com/Isur/pizzeria","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/Isur%2Fpizzeria","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Isur%2Fpizzeria/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Isur%2Fpizzeria/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Isur%2Fpizzeria/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Isur","download_url":"https://codeload.github.com/Isur/pizzeria/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252772749,"owners_count":21801978,"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":[],"created_at":"2024-11-13T22:31:35.760Z","updated_at":"2025-05-06T21:34:17.137Z","avatar_url":"https://github.com/Isur.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API\n**Add ingredient**\n----\n  Returns json data about new Ingredient.\n\n* **URL**\n\n  /ingredients/add\n\n* **Method:**\n\n  `POST`\n\n*  **URL Params**\n\n   None\n\n* **Data Params**\n\n  **Required:**\n\n   `name=[String]`\n\n   `quantity=[Number]`\n\n* **Success Response:**\n\n  * **Code:** 200 \u003cbr /\u003e\n    **Content:**\n```json\n    {\n     \"success\": true,\n     \"data\": {\n        \"_id\": \"5c26a8c05cf5ec10b237e49f\",\n        \"name\": \"Name\",\n        \"quantity\": 1,\n        \"__v\": 0\n     }\n    }\n```\n\n* **Error Response:**\n\n  * **Code:** 500 \u003cbr /\u003e\n    **Content:**\n```json\n    {\n        \"success\" : false,\n        \"message\": \"Item already exists!\"\n    }\n```\n\n\n* **Sample Call:**\n\n// TODO: Examle axios call.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisur%2Fpizzeria","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisur%2Fpizzeria","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisur%2Fpizzeria/lists"}