{"id":16584882,"url":"https://github.com/mikaelvesavuori/triplecheck-example-cloudflare-workers","last_synced_at":"2026-05-29T12:31:27.094Z","repository":{"id":42648098,"uuid":"367692115","full_name":"mikaelvesavuori/triplecheck-example-cloudflare-workers","owner":"mikaelvesavuori","description":"TripleCheck broker running on Cloudflare Workers and KV.","archived":false,"fork":false,"pushed_at":"2023-01-07T07:36:05.000Z","size":1129,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-07T19:49:11.538Z","etag":null,"topics":["consumer-contracts","consumer-driven-contracts","contract-testing","pacts","triplecheck"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikaelvesavuori.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null}},"created_at":"2021-05-15T17:27:50.000Z","updated_at":"2022-04-25T08:27:22.000Z","dependencies_parsed_at":"2023-02-06T15:00:53.470Z","dependency_job_id":null,"html_url":"https://github.com/mikaelvesavuori/triplecheck-example-cloudflare-workers","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mikaelvesavuori/triplecheck-example-cloudflare-workers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikaelvesavuori%2Ftriplecheck-example-cloudflare-workers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikaelvesavuori%2Ftriplecheck-example-cloudflare-workers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikaelvesavuori%2Ftriplecheck-example-cloudflare-workers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikaelvesavuori%2Ftriplecheck-example-cloudflare-workers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikaelvesavuori","download_url":"https://codeload.github.com/mikaelvesavuori/triplecheck-example-cloudflare-workers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikaelvesavuori%2Ftriplecheck-example-cloudflare-workers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33652979,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["consumer-contracts","consumer-driven-contracts","contract-testing","pacts","triplecheck"],"created_at":"2024-10-11T22:46:06.899Z","updated_at":"2026-05-29T12:31:27.074Z","avatar_url":"https://github.com/mikaelvesavuori.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# triplecheck-example-cloudflare-workers\n\n![TripleCheck example implementation](readme/triplecheck-example.png)\n\n## TripleCheck broker running on Cloudflare Workers and KV\n\nThis repo demonstrates a working, basic implementation of a [TripleCheck broker](https://github.com/mikaelvesavuori/triplecheck-broker) running on Cloudflare Workers with the database being Cloudflare KV.\n\nRefer to the documentation on the [broker](https://github.com/mikaelvesavuori/triplecheck-broker) for how to call the API.\n\nTechnology choices are:\n\n- [Node.js](https://nodejs.org/en/)\n- [TypeScript](https://www.typescriptlang.org)\n- [Cloudflare Wrangler CLI](https://developers.cloudflare.com/workers/get-started/guide) for easing deployment and packaging\n- [Webpack](https://webpack.js.org) for bundling\n\n## Pre-requisites\n\n- A Cloudflare account\n- [Wrangler CLI](https://developers.cloudflare.com/workers/get-started/guide) installed\n- Run the `init.sh` script\n- Set the bindings presented from the above script in `wrangler.toml`, then rename the file `wrangler dot toml` – the actual file is gitignored so you don't commit any secret values\n- Set `zone_id` and `account_id` in `wrangler.toml`, these are easiest found in the web console\n- Configure the `custom` block in `serverless.yml` so it uses your own values\n\n## Installation\n\nRun `npm install` or `yarn install`.\n\n## Local development\n\nRun `npm start` or `yarn start`.\n\n## Deploy\n\nRun `npm run deploy` or `yarn run deploy`.\n\n## Teardown (remove stack)\n\nThere is currently no way to remove a function with the CLI tool – you will have to do this manually in the web console.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikaelvesavuori%2Ftriplecheck-example-cloudflare-workers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikaelvesavuori%2Ftriplecheck-example-cloudflare-workers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikaelvesavuori%2Ftriplecheck-example-cloudflare-workers/lists"}