This example explain how to run a serverless service locally, It provides a REST API to manage User stored in a DynamoDB.
Install Node
npm install -g serverless
sudo apt install default-jre
npm install
serverless dynamodb install
serverless dynamodb migrate
serverless offline start
serverless dynamodb migrate
serverless dynamodb seed --seed={seedkey}