triplecheck-example-lambda

TripleCheck broker running on AWS Lambda and DynamoDB.

MIT License

Stars
0

triplecheck-example-lambda

TripleCheck broker running on AWS Lambda and DynamoDB

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:

Pre-requisites

  • 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 in serverless.yml so it uses your own values

Installation

Run npm install or yarn install.

Local development

Run npm start or yarn start.

Deploy

Run npm run deploy or yarn run deploy.

Teardown (remove stack)

Run npm run remove or yarn run remove.