Build AWS LAMBDA function with serverless and typescript.
Install node.js packages and install serverless:
npm i
npm install -g serverless
For unit test, lambda testing, please install the following package globally
npm install -g lambda-local jasmine
To run unit test:
npm run test
To run lambda function locally:
npm run test:local
To deploy use:
npm run deploy
To run post deployment test:
npm run test:function