Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 1.61 KB

README.md

File metadata and controls

54 lines (33 loc) · 1.61 KB

Welcome to your CDK TypeScript project

This is a blank project for CDK development with TypeScript.

The cdk.json file tells the CDK Toolkit how to execute your app.

Useful commands

  • npm run build compile typescript to js
  • npm run watch watch for changes and compile
  • npm run test perform the jest unit tests
  • npx cdk deploy deploy this stack to your default AWS account/region
  • npx cdk diff compare deployed stack with current state
  • npx cdk synth emits the synthesized CloudFormation template

Small ECommerce

Why use AWS'cloud development kit ? :

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.

this application contains

1 - autorization and autentication

2 - product managements

3 - order managements

4 - import of invoices

5 -

1 - product managemnt diagram

First stack contain ()

alt text

products admin lambda ; products Fecth lambda; products db dinamoBD; products event Lambda

2 - api gateway stack (REST)

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