This code is written using AWS-CDK verion 1.0 if you create new Project with cdk CLI project will be created latest verson.
Appsync is alternate of REST api to fetch our data from backend to client side.
Lambda Function is serverless function provided by AWS to process server side functionality. With Serverless Lambda function you don't need to manage full NodeJS server or other server.
DynamoDB is database provided by AWS. This databse support key-value system to save data.
This is a blank project for TypeScript development with CDK.
The cdk.json
file tells the CDK Toolkit how to execute your app.
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testscdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template