{"id":13725235,"url":"https://github.com/digicatapult/graphql-complexity-experiment","last_synced_at":"2025-05-07T19:33:24.286Z","repository":{"id":40729367,"uuid":"235992882","full_name":"digicatapult/graphql-complexity-experiment","owner":"digicatapult","description":"Demonstrator of graphql-query-complexity on apollo-server-express","archived":true,"fork":false,"pushed_at":"2024-03-14T10:24:54.000Z","size":604,"stargazers_count":3,"open_issues_count":12,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-04T01:27:22.491Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/digicatapult.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}},"created_at":"2020-01-24T11:45:21.000Z","updated_at":"2024-03-14T10:25:07.000Z","dependencies_parsed_at":"2024-02-04T07:46:22.310Z","dependency_job_id":"fafb56a1-70d3-4b71-9a5a-4a4c2a1d8744","html_url":"https://github.com/digicatapult/graphql-complexity-experiment","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/digicatapult%2Fgraphql-complexity-experiment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digicatapult%2Fgraphql-complexity-experiment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digicatapult%2Fgraphql-complexity-experiment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digicatapult%2Fgraphql-complexity-experiment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digicatapult","download_url":"https://codeload.github.com/digicatapult/graphql-complexity-experiment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224645272,"owners_count":17346108,"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-08-03T01:02:16.524Z","updated_at":"2024-11-14T15:30:57.503Z","avatar_url":"https://github.com/digicatapult.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# GraphQL Complexity Experiment\n\n## Deprecation Notice\nThis application was deprecated on March 14th 2024, there will be no further dependency or security updates.\n---\n\nThis repo contains demonstration code for using the module [`graphql-query-complexity`](https://github.com/slicknode/graphql-query-complexity) with [`Apollo Server`](https://github.com/apollographql/apollo-server) in order to constrain the query complexity accepted by a GraphQL API to prevent DoS type attacks. This is heavily inspired by the example given in [`MichalLytek/type-graphql`](https://github.com/MichalLytek/type-graphql/tree/master/examples/query-complexity).\n\n## Running the example\n\nThe example can be run with:\n\n```console\nnpm start\n```\n\nand viewed at the graphql playground at [http://localhost:3000/graphql](http://localhost:3000/graphql)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigicatapult%2Fgraphql-complexity-experiment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigicatapult%2Fgraphql-complexity-experiment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigicatapult%2Fgraphql-complexity-experiment/lists"}