This repo demonstrates a working, basic implementation of a TripleCheck broker running on AWS Lambda with the database in DynamoDB (pay-as-you-go model).
Refer to the documentation on the broker for how to call the API.
Technology choices are:
- Node.js
- TypeScript
- Serverless Framework for easing deployment and packaging
- Webpack for bundling
- An AWS account
- AWS credentials in your environment so that Serverless Framework can pick them up
- Sufficient credentials to deploy and remove Lambda, API Gateway, S3 and DynamoDB
- Configure the
custom
block inserverless.yml
so it uses your own values
Run npm install
or yarn install
.
Run npm start
or yarn start
.
Run npm run deploy
or yarn run deploy
.
Run npm run remove
or yarn run remove
.