{"id":25121854,"url":"https://github.com/aidenwallis/api-gateway-cdk-graphql-test","last_synced_at":"2025-04-02T15:42:45.846Z","repository":{"id":115249040,"uuid":"489910592","full_name":"aidenwallis/api-gateway-cdk-graphql-test","owner":"aidenwallis","description":"Example GraphQL server using AWS API Gateway + Lambda","archived":false,"fork":false,"pushed_at":"2022-05-08T10:25:41.000Z","size":286,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-08T06:37:41.287Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aidenwallis.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":"2022-05-08T10:23:32.000Z","updated_at":"2022-05-08T10:27:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"f48c19fb-520a-4d7c-ae07-0b96bf27d410","html_url":"https://github.com/aidenwallis/api-gateway-cdk-graphql-test","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/aidenwallis%2Fapi-gateway-cdk-graphql-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidenwallis%2Fapi-gateway-cdk-graphql-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidenwallis%2Fapi-gateway-cdk-graphql-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidenwallis%2Fapi-gateway-cdk-graphql-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aidenwallis","download_url":"https://codeload.github.com/aidenwallis/api-gateway-cdk-graphql-test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246847056,"owners_count":20843438,"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":"2025-02-08T06:37:44.843Z","updated_at":"2025-04-02T15:42:45.820Z","avatar_url":"https://github.com/aidenwallis.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# api-gateway-cdk-graphql-test\n\nTest project to assess how hard it would be to setup a fully serverless GraphQL server using [graphql-go](https://github.com/graph-gophers/graphql-go) and [AWS CDK](https://aws.amazon.com/cdk/).\n\nThis package is largely adapted from [tonyghita/graphql-go-example](https://github.com/tonyghita/graphql-go-example). You should check out their project for a more in depth example.\n\nI wrote this to satisfy my own curiosity, don't use this in production.\n\n## How it works\n\nIt uses the AWS API Gateway to send raw HTTP requests to a lambda. You get the benefit of API Gateway/Lambda's infinite scalability/zero-infra, with the benefit of building your own GraphQL resolvers in Go.\n\nThe related infra to make this example work lives inside [cdk](cdk), which stores the CDK required to deploy this project.\n\nIf you want to put this on a custom domain, you could with a few options, such as using a Cloudfront distribution. I haven't done it in this example.\n\n## Example request\n\nOnce you deploy the stacks, you can make the following request to see it in action! (note, the API gateway instance in the screenshot has been deleted, therefore will not work).\n\n![Example request](example-request.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faidenwallis%2Fapi-gateway-cdk-graphql-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faidenwallis%2Fapi-gateway-cdk-graphql-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faidenwallis%2Fapi-gateway-cdk-graphql-test/lists"}