- Copy your AWS admin credentials from the AWS access portal into your
.aws/credentials
file - Run
yarn bootstrap
to deploy to your AWS account and set local environment variables - Verify deployment in the AWS console or by running
yarn test:e2e
- Run
yarn sls deploy
to push changes to your dev environment
This project uses the GraphQL-Codegen library to translate GraphQL object types into TypeScript types for functions, resolvers, and automated tests. When modifying the API, start by adding or updating the relevant types in the schema.api.graphql
file.
Run yarn codegen
to automatically generate TypeScript types in the src/generated/graphql.ts
file. Import types from graphql.ts
into Lambda functions, AppSync resolvers, and automated tests.