https://github.com/mikaelvesavuori/triplecheck-example-lambda
TripleCheck broker running on AWS Lambda and DynamoDB.
https://github.com/mikaelvesavuori/triplecheck-example-lambda
consumer-contracts consumer-driven-contracts contract-testing pacts triplecheck
Last synced: 12 months ago
JSON representation
TripleCheck broker running on AWS Lambda and DynamoDB.
- Host: GitHub
- URL: https://github.com/mikaelvesavuori/triplecheck-example-lambda
- Owner: mikaelvesavuori
- License: mit
- Created: 2021-05-15T17:33:57.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-04-22T15:54:33.000Z (almost 3 years ago)
- Last Synced: 2025-01-16T16:22:23.578Z (about 1 year ago)
- Topics: consumer-contracts, consumer-driven-contracts, contract-testing, pacts, triplecheck
- Language: TypeScript
- Homepage:
- Size: 2.61 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# triplecheck-example-lambda

## TripleCheck broker running on AWS Lambda and DynamoDB
This repo demonstrates a working, basic implementation of a [TripleCheck broker](https://github.com/mikaelvesavuori/triplecheck-broker) running on AWS Lambda with the database in DynamoDB (pay-as-you-go model).
Refer to the documentation on the [broker](https://github.com/mikaelvesavuori/triplecheck-broker) for how to call the API.
Technology choices are:
- [Node.js](https://nodejs.org/en/)
- [TypeScript](https://www.typescriptlang.org)
- [Serverless Framework](https://www.serverless.com) for easing deployment and packaging
- [Webpack](https://webpack.js.org) for bundling
## 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`.