This is a simple web application and API server built using serverless architecture.
In your local development environment, you need the following tools available in your path:
- Yarn (
yarn
) - AWS CLI (
aws
) - Terraform (
terraform
) - Serverless Framework (
serverless
)
You can deploy a fully functional web application with serverless APIs and distribute it using CloudFront.
You can deploy the serverless APIs and client application using Serverless framework.
Option | Default | Description |
---|---|---|
profile |
aws cli profile | |
environment |
dev |
environment name |
region |
us-east-1 |
deployment region |
You can deploy the resources as follows:
yarn run client
yarn run deploy
yarn run deploy-client
You can also remove the resources as follows:
yarn run remove
yarn run remove-client