This project riffs off of the Serverless Framework Todo example, which demonstrates how to to create, list, get, update and delete Todos. DynamoDB is used to store the data.
This project extends the Serverless Framework example by adding:
- Mocha tests
- CI/CD using AWS CodePipeline
First, follow the setup instructions for the Serverless Framework, then install needed NPM packages.
$ > npm install
First, look at local execution for how to run tests in your local environment. Then, look at CodePipeline execution for how to run tests as part of a CI/CD pipeline using AWS CodePipeline.