This is code which follows the tutorial Build a Python REST API with Serverless, Lambda, and DynamoDB to create a deploy a serverless REST API using Serverless Framework and Flask.
npm install
sls dyanamodb installpipenv install
pipenv shellpipenv shell
python app.pysls deployIn one terminal start the local DynamoDB emulator:
sls dynamodb startIn another terminal start the local development environment
sls wsgi serve