My personal serverless boilerplate
Install dependencies:
sudo npm install serverless -g
npm install
sls dynamodb install
To run a dev server:
npm run server
Here are the necessary AWS permissions.
dev
deployment:
sls create_domain
sls deploy
production
deployment:
sls create_domain --stage=production
sls deploy --stage=production