This project is used to create AWS Lambda functionalities that use Rustybeer library for calculations.
Install the following dependencies:
Once all that is done, install the following packages:
npm install -g serverless
npm install --save-dev serverless-rust
And setup your AWS CLI for deployments:
aws configure
You can get your tokens from AWS IAM
You can run lambda functions locally with serverless:
serverless invoke local -f FUNCTION -d JSON_PAYLOAD
When you have your AWS CLI set up you can easily deploy the endpoints to production with serverless
serverless deploy