AWS Amplify frontend for the appsync backend aws-cdk-todolist
The Frontend AWS CDK Stack is an AWS S3 Static Side bucket. It is managed by my AWS CDK Staging Pipeline Custom Construct. See specifics in src/main.ts
- Deploy
yarn deploy
yarn destroy
cd frontend
- Generate Exports && GraphQL Types
yarn generate-exports
yarn codegen
- Run the frontend locally
yarn dev
- Download key and save as vm.pem
- give it the right permissions with chmod 0400 vm.pem
- connect with terminal using vm.pem and public dns name like:
ssh -i "vm.pem" [email protected]
yes | yarn cdkDestroy '' && yarn cdkDeploy '' --require-approval never
- kcwinner for this very inspiring TS React Amplify project https://github.com/kcwinner/cdk-appsync-react-demo