{"id":20506013,"url":"https://github.com/nkg447/graphql-app-int","last_synced_at":"2026-04-13T20:32:50.713Z","repository":{"id":99795337,"uuid":"582975946","full_name":"nkg447/graphql-app-int","owner":"nkg447","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-16T17:08:49.000Z","size":349,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-05T14:44:45.209Z","etag":null,"topics":["graphql","oas-to-graphql","openapi-to-graphql","rest-api","swagger","swagger-to-gra"],"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/nkg447.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":"2022-12-28T11:55:37.000Z","updated_at":"2023-01-08T16:43:33.000Z","dependencies_parsed_at":"2023-08-01T04:00:25.693Z","dependency_job_id":null,"html_url":"https://github.com/nkg447/graphql-app-int","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nkg447/graphql-app-int","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkg447%2Fgraphql-app-int","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkg447%2Fgraphql-app-int/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkg447%2Fgraphql-app-int/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkg447%2Fgraphql-app-int/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nkg447","download_url":"https://codeload.github.com/nkg447/graphql-app-int/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkg447%2Fgraphql-app-int/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31770720,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["graphql","oas-to-graphql","openapi-to-graphql","rest-api","swagger","swagger-to-gra"],"created_at":"2024-11-15T19:52:55.693Z","updated_at":"2026-04-13T20:32:50.692Z","avatar_url":"https://github.com/nkg447.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Integrate Rest APIs with GraphQL\n\nIntegrate multiple Rest APIs with GraphQl and reduce your api calls.\n\n## Example\nConsider you have these 3 APIs.\n\n* http://amazon.com/getOrderById\n* http://amazon.com/getProductById\n* http://amazon.com/getSupplierById\n\nNow to fetch the supplier name of an order id. You would perform following steps.\n1. Get Order details from getOrderById.\n2. Get Product details form getProductById using the productId received from step 1.\n3. Get Supplier details from getSupplierById using the supplierId received form step 2.\n\nBut if you integrate your APIs with GraphQL. All you need to do is send the following graphql request.\n```graphql\nquery{\n    getOrderById(id: $orderId){\n        date\n        product{\n            name\n            supplier{\n                name\n            }\n        }\n    }\n}\n```\nAnd this will give you a response like - \n```json\n{\n  \"getOrderById\": {\n    \"date\": \"10-12-2021\",\n    \"product\": {\n      \"name\": \"PS5\",\n      \"supplier\": {\n        \"name\": \"Sony\"\n      }\n    }\n  }\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnkg447%2Fgraphql-app-int","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnkg447%2Fgraphql-app-int","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnkg447%2Fgraphql-app-int/lists"}