<!-- - yarn global add prisma @paljs/cli ts-node ts-node-dev -->
- amplify add function
- `prisma init` (create a prisma/schema.prisma)
- colay-prisma <lambda function src path>
- copy .backend/__function__/schema.graphql to appsync (amplify/backend/api/schema.graphql)
- Goto Appsync console (AppSync-> Select the Project-> Goto Functions->Configure Mapping Templates) and add Mapping

// React Setup

- yarn add @graphql-codegen/cli @graphql-codegen/typescript @graphql-codegen/typescript-operations @graphql-codegen/typescript-react-apollo -D
- get api/graphql/schema.graphql and create documents
- copy codegen.yml
- add `generateGql: "graphql-codegen",` package.json scripts
- yarn generateGql