{"id":15491536,"url":"https://github.com/tcodes0/appsync-boiler","last_synced_at":"2026-01-24T18:03:04.819Z","repository":{"id":46061275,"uuid":"275926654","full_name":"tcodes0/appsync-boiler","owner":"tcodes0","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-22T17:00:55.000Z","size":241,"stargazers_count":4,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-10T10:57:40.953Z","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/tcodes0.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}},"created_at":"2020-06-29T21:09:03.000Z","updated_at":"2025-02-20T19:41:16.000Z","dependencies_parsed_at":"2022-09-05T20:41:12.267Z","dependency_job_id":null,"html_url":"https://github.com/tcodes0/appsync-boiler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tcodes0/appsync-boiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcodes0%2Fappsync-boiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcodes0%2Fappsync-boiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcodes0%2Fappsync-boiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcodes0%2Fappsync-boiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tcodes0","download_url":"https://codeload.github.com/tcodes0/appsync-boiler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcodes0%2Fappsync-boiler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28733344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T17:51:25.893Z","status":"ssl_error","status_checked_at":"2026-01-24T17:50:48.377Z","response_time":89,"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":[],"created_at":"2024-10-02T07:54:10.819Z","updated_at":"2026-01-24T18:03:04.803Z","avatar_url":"https://github.com/tcodes0.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AppSync Boilerplate using CDK\n\nSee the video for detailed code explanations and QA with community: https://www.youtube.com/watch?v=1Y3pQUkpqQ0\n\n## Usage\n\nAfter having an aws account setup and `aws cli` installed, run `yarn deploy`\nIt will deploy a basic AppSync server for you using lambda resolvers.\n\n## cdk bootstrap\n\nYou may encounter an error while deploying about running `cdk bootstrap`\n\nRun it like this:\n`yarn cdk bootstrap aws://9999999999/us-east-2 --profile \u003cprofile here if using\u003e`\n\n[go to the dashboard to find you account id](https://docs.aws.amazon.com/general/latest/gr/acct-identifiers.html)\nReplace 9999999999 with it.\nReplace `us-east-2` with the region you're using, this is visible on the dashboard.\nIf using a profile (only if you deploy to multiple aws account) pass profile name after `--profile`\n\n## credentials\n\nIt's useful to know aws stores your credentials at `~/.aws/credentials`\n\nuse `cat ~/.aws/credentials` to see them\n\n## field lambdas\n\n`_fieldLambda` resolves a model id within another model.\nImagine you're liking a post in a social network:\n\n```js\n// like model\n{\n  user: 2382adabc7323bcf\n  post: badf738c373bcf\n}\n```\n\nSince both strings are ids to other models, you'd create a resolver using `_fieldLambda` in the `Like` module\n\n```js\n// modules/like\ncreateResolver('Like.user', _fieldLambda)\ncreateResolver('Like.post', _fieldLambda)\n```\n\n`_fieldArrayLambda` resolves a model id array within another model.\nImagine you're saving a users email address, and that `email` is a model\n\n```js\n// user model\n{\n  emails: [2382adabc7323bcf, badf738c373bcf]\n}\n```\n\nYou'd create a resolver using `_fieldLambda` in the `Like` module\n\n```js\n// modules/user\ncreateResolver('User.emails', _fieldArrayLambda)\n```\n\nThis allows AppSync to \"unwrap\" your data into graphQl responses\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcodes0%2Fappsync-boiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftcodes0%2Fappsync-boiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcodes0%2Fappsync-boiler/lists"}