pip install awscli --upgrade --user
aws --versionaws configureUse 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
tscnpm install
npm install -g serverlessserverless offline start
curl http://localhost:3000/serverless invoke local --function api
serverless deploy --stage dev --aws-profile your-aws-profileserverless remove --stage dev --aws-profile your-aws-profile