Example of using DynamoDB and Lambda in AWS using Serverless framework
Install Serverless CLI
For more info on serverless see docs
npm install serverless -gInstall project dependencies
npm installInstall required version of node:
nvm useNote on node version:
The Lambda's use node v10.x however serverless-offline requires v12.x to
be installed to run.
Start Dynamo local
sls dynamodb startStart app in offline mode
sls offlineSet up AWS credentials in preferred way. For options see docs
sls deploy