Appsync Repo Extra Quality · Premium

type Subscription onPostCreated: Post @aws_subscribe(mutations: ["createPost"])

serverless deploy --stage dev

cd infra npm run cdk deploy

amplify init amplify push # Run GraphQL codegen (types, operations) npm run codegen Start local AppSync emulator (using Amplify Mock) amplify mock api Run unit tests for resolvers npm test GraphQL Schema The schema is defined in schema.graphql . Example: appsync repo