This is a blank project for CDK development with TypeScript.
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 testsnpx cdk deploy
deploy this stack to your default AWS account/regionnpx cdk diff
compare deployed stack with current statenpx cdk synth
emits the synthesized CloudFormation template
The CDK allows you to define infrastructure as code using a programming language (such as TypeScript, Python, Java, etc.) and then synthesize and deploy that infrastructure on AWS. Here, we gonna use typescript.
1 - autorization and autentication
2 - product managements
3 - order managements
4 - import of invoices
5 -
products admin lambda ; products Fecth lambda; products db dinamoBD; products event Lambda
APi gateway is mport to validate uri, http method, requisitionss body e.g.
features for products, for instance ...
request | URL | http verb |
---|---|---|
list all products | /products | GET |
seacrh one product | /products/{id} | GET |
creat one product | /products | POST |
change one product | /products/{id} | PUT |
delete one product | /products/{id} | DELETE |