{"id":17204501,"url":"https://github.com/bboure/appsyncchallenge","last_synced_at":"2025-03-25T09:43:19.366Z","repository":{"id":88813960,"uuid":"362204840","full_name":"bboure/AppSyncChallenge","owner":"bboure","description":"The #AppSyncChallenge on Twitter","archived":false,"fork":false,"pushed_at":"2021-05-02T08:53:06.000Z","size":76,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-30T09:12:27.713Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/bboure.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":"2021-04-27T17:59:41.000Z","updated_at":"2021-07-19T21:56:23.000Z","dependencies_parsed_at":"2023-03-24T00:49:20.287Z","dependency_job_id":null,"html_url":"https://github.com/bboure/AppSyncChallenge","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/bboure%2FAppSyncChallenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bboure%2FAppSyncChallenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bboure%2FAppSyncChallenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bboure%2FAppSyncChallenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bboure","download_url":"https://codeload.github.com/bboure/AppSyncChallenge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245437203,"owners_count":20615231,"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-10-15T02:22:11.550Z","updated_at":"2025-03-25T09:43:19.334Z","avatar_url":"https://github.com/bboure.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"See [#AppSyncChallenge](https://twitter.com/hashtag/AppSyncChallenge) on Twitter\n\n# The Challenge\n\nBuild an AppSync API. There are only 2 rules:\n\n- It must call at least one AWS service of your choice (eg: Lambda, SSM, Strep Functions, S3)\n- You **cannot** use Lambda resolvers. Use VTL **only**!\n\nThere are no other restrictions. Use the IaC of your choice (Serverless framework, Amplify, CDK, etc.)\n\nWhen you are done, post your solution with a link to your Github repo on Twitter. Use the hashtag #AppSyncChallenge to make sure it's visible to everyone following the challenge.\n\n# Ideas\n\nIf you are out of inspiration, here are a couple of ideas for you:\n\n\n- Have AppSync put an event into an EventBridge bus, and have a Lambda function process the event asynchroneously.\n\n```graphql\nmutation {\n  putEvent(event: \"{\\\"foo\\\": \\\"bar\\\"}\")\n}\n```\n**Bonus**: Add a subcription endpoint to AppSync that will receive a notification when the Lambda finishes.\n\n\u003cbr/\u003e\n\n\n- Build an API that browses an S3 Bucket\n\n```graphql\nquery {\n  s3(bucketName: \"my-bucket\", prefix: \"path/to/files\") {\n    key\n    size\n  }\n}\n```\n\u003cbr/\u003e\n\n\n- Execute a Step Function \n\n```graphql\nmutation {\n  startStepFunction(name: \"my_task\", input: \"{\\\"foo\\\": \\\"bar\\\"}\") {\n    key\n    size\n  }\n}\n```\n**Bonus**: Add a subcription endpoint to AppSync that will receive a notification when the Step Functions complete.\n\n\u003cbr/\u003e\n\n- Reveal a secret from SSM\n\n```graphql\nquery {\n  revealSecret(path: \"path/to/ssm/secret\")\n}\n```\n\n\u003cbr/\u003e\n\n- Invoke a long-running Lambda function asynchroneously (AppSync will not wait for the function to return)\n\n```graphql\nmutation {\n  runLambda(name: \"myLambda\", input: \"{\\\"foo\\\": \\\"bar\\\"}\")\n}\n```\n\n**Bonus**: Add a subcription endpoint to AppSync that will receive a notification when the Lambda finishes.\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n![Good luck](https://media.giphy.com/media/j1Xyt3DHfJcmk/giphy.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbboure%2Fappsyncchallenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbboure%2Fappsyncchallenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbboure%2Fappsyncchallenge/lists"}