Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

WebApp for REST Backends

Infrastructure as code framework used: AWS CDK AWS Services used: AWS Amplify, AWS Lambda, Amazon Cognito, Amazon API Gateway, Amazon DynamoDB

Summary of the demo

In this demo you will see:

  • How to create WebApps with AWS CDK
  • How to host WebApps with AWS Amplify
  • How to secure APIs and WebApps using Amazon Cognito
  • How to create backends with Amazon Api Gateway, AWS Lambda and Amazon DynamoDB

Important: this application uses various AWS services and there are costs associated with these services after the Free Tier usage - please see the AWS Pricing page for details. You are responsible for any AWS costs incurred. No warranty is implied in this example.

Requirements

  • AWS CLI already configured with Administrator permission
  • AWS CDK - v2
  • NodeJS 20.x installed
  • CDK bootstrapped in your account

Deploy this demo

Deploy the project to the cloud:

cdk deploy

When asked about functions that may not have authorization defined, answer (y)es. The access to those functions will be open to anyone, so keep the app deployed only for the time you need this demo running.

To delete the app:

cdk destroy

AWS CDK 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
  • cdk deploy deploy this stack to your default AWS account/region
  • cdk diff compare deployed stack with current state
  • cdk synth emits the synthesized CloudFormation template

About

Example of application to build a WebAppRest

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors