Skip to content

bhrutledge/chalice-cdk-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST API backed by Amazon DynamoDB

This template provides a REST API that's backed by an Amazon DynamoDB table. This application is deployed using the AWS CDK.

For more information, see the Deploying with the AWS CDK tutorial.

Quickstart

First, you'll need to install the requirements for the project.

$ python3 -m venv venv

$ source venv/bin/activate

$ python3 -m pip install -r requirements.txt

$ npm --prefix infrastructure install

There's also separate requirements files in the infrastructure and runtime directories if you'd prefer to have separate virtual environments for your CDK and Chalice app.

To deploy the application, cd to the infrastructure directory. If this is you're first time using the CDK you'll need to bootstrap your environment.

$ npx cdk bootstrap

Then you can deploy your application using the CDK.

$ npx cdk deploy

Project layout

This project template combines a CDK application and a Chalice application. These correspond to the infrastructure and runtime directory respectively. To run any CDK CLI commands, ensure you're in the infrastructure directory, and to run any Chalice CLI commands ensure you're in the runtime directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages