pip install awscli --upgrade --user
aws --version
aws configure
Use NVM to manage node versions. I'd recommend ~6.10 since that's what AWS is using.
npm install -g typescript
# Compile the typescript files
tsc
npm install
npm install -g serverless
serverless offline start
curl http://localhost:3000/
serverless invoke local --function api
serverless deploy --stage dev --aws-profile your-aws-profile
serverless remove --stage dev --aws-profile your-aws-profile