{"id":13516015,"url":"https://github.com/cloudflare/workers-graphql-gateway-example","last_synced_at":"2025-04-10T09:26:26.788Z","repository":{"id":39737555,"uuid":"146017518","full_name":"cloudflare/workers-graphql-gateway-example","owner":"cloudflare","description":"GraphQL running on Cloudflare Workers","archived":false,"fork":false,"pushed_at":"2024-09-25T22:41:08.000Z","size":764,"stargazers_count":84,"open_issues_count":19,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-22T21:47:19.867Z","etag":null,"topics":["cloudflare","cloudflare-workers","dataloader","graphql"],"latest_commit_sha":null,"homepage":"https://cloudflaregraphql.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudflare.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-08-24T16:53:33.000Z","updated_at":"2025-03-05T18:31:01.000Z","dependencies_parsed_at":"2024-10-03T21:41:18.742Z","dependency_job_id":"cff15c1c-da3b-4261-a84a-de013695bc97","html_url":"https://github.com/cloudflare/workers-graphql-gateway-example","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/cloudflare%2Fworkers-graphql-gateway-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fworkers-graphql-gateway-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fworkers-graphql-gateway-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fworkers-graphql-gateway-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudflare","download_url":"https://codeload.github.com/cloudflare/workers-graphql-gateway-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248190782,"owners_count":21062342,"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":["cloudflare","cloudflare-workers","dataloader","graphql"],"created_at":"2024-08-01T05:01:18.300Z","updated_at":"2025-04-10T09:26:26.764Z","avatar_url":"https://github.com/cloudflare.png","language":"JavaScript","readme":"![Cloudflare GraphQL Gateway](https://www.cloudflare.com/img/products/cloudflare-workers/workers-api-responses.png)\n\nWorkers GraphQL Gateway Example\n====\nBuilding a GraphQL Gateway allows you to make a single query, have GraphQL and take care of breaking it down to multiple rest calls. This example makes use of [dataloader](https://github.com/facebook/dataloader) to batch and cache the queries so a query with the same key will not be requested twice.\n\n### Dependencies\n- [npm](https://www.npmjs.com/get-npm) or [yarn](https://yarnpkg.com/en/docs/install#debian-stable)\n\n### Instructions\n\n- `npm install`\n- `npm run build`\n\nTo open the Workers preview with the built Worker:\n\n- `npm run preview`\n\n### About\n[Cloudflare Workers](http://developers.cloudflare.com/workers/) allow you to write JavaScript which runs on all of Cloudflare's\n150+ global data centers.\n\n[GraphQL](https://graphql.org) provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools.\n","funding_links":[],"categories":["JavaScript","GraphQL"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudflare%2Fworkers-graphql-gateway-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudflare%2Fworkers-graphql-gateway-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudflare%2Fworkers-graphql-gateway-example/lists"}