This is a blank project for JavaScript development with CDK.
The cdk.json
file tells the CDK Toolkit how to execute your app. The build step is not required when using JavaScript.
npm 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
<api gateway>/photo
uploads a photo in s3<api gateway/photo?ration=<number>
also uploads a photo but downdrades by<number>
%
Takes base64 encoded string of an image
{
"file": "/9j/4AAQSkZJRgABAQAAAQABAAD/4QBqRXhpZgAASUkqAAgAAAADABIBAwABAA........."
}