{"id":16584880,"url":"https://github.com/mikaelvesavuori/triplecheck-example-cloudrun","last_synced_at":"2026-06-06T10:31:51.440Z","repository":{"id":38731990,"uuid":"367692866","full_name":"mikaelvesavuori/triplecheck-example-cloudrun","owner":"mikaelvesavuori","description":"TripleCheck broker running on Google Cloud Run with Firestore.","archived":false,"fork":false,"pushed_at":"2023-07-12T16:05:53.000Z","size":655,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T05:16:29.598Z","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-15T17:30:56.000Z","updated_at":"2021-05-18T14:33:36.000Z","dependencies_parsed_at":"2025-01-16T16:14:29.591Z","dependency_job_id":"740e54fe-4fe1-4a9d-b286-234563971fbc","html_url":"https://github.com/mikaelvesavuori/triplecheck-example-cloudrun","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mikaelvesavuori/triplecheck-example-cloudrun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikaelvesavuori%2Ftriplecheck-example-cloudrun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikaelvesavuori%2Ftriplecheck-example-cloudrun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikaelvesavuori%2Ftriplecheck-example-cloudrun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikaelvesavuori%2Ftriplecheck-example-cloudrun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikaelvesavuori","download_url":"https://codeload.github.com/mikaelvesavuori/triplecheck-example-cloudrun/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikaelvesavuori%2Ftriplecheck-example-cloudrun/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33979274,"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-06-06T02:00:07.033Z","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.488Z","updated_at":"2026-06-06T10:31:51.418Z","avatar_url":"https://github.com/mikaelvesavuori.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# triplecheck-example-cloudrun\n\n![TripleCheck example implementation](readme/triplecheck-example.png)\n\n## TripleCheck broker running on Google Cloud Run with Firestore\n\nThis repo demonstrates a working, basic implementation of a [TripleCheck broker](https://github.com/mikaelvesavuori/triplecheck-broker) running on Google Cloud Run with Firestore as the database.\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\n## Pre-requisites\n\n- A Google Cloud Platform account\n- Logged in to GCP\n- Sufficient credentials to deploy and use Cloud Run and Firestore\n- Enable Firestore (Native mode) in the GCP web console, create a database called `broker-demo` – if you change it you need to make sure that `src/index.ts` points to whatever you called your Firestore\n- Configure `init.sh` and `deploy.sh` so they use your own values\n\n## Installation\n\nRun `npm install` or `yarn install` in both the root and `src` folders.\n\n## Initialize GCP service account\n\n**First ensure the details in `init.sh` are correct.**\n\nRun `npm run init`.\n\n## Local development\n\nRun `npm start` or `yarn start`.\n\n## Docker\n\nRun `npm run docker:build` or `npm run docker:start` respectively to build and run a container.\n\n## Deploy\n\n**First ensure the details in `deploy.sh` are correct.**\n\nNote: There is no need to use Docker manually to build the container when we let `gcloud` handle the deployment and build process.\n\nRun `npm run deploy` or `yarn run deploy`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikaelvesavuori%2Ftriplecheck-example-cloudrun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikaelvesavuori%2Ftriplecheck-example-cloudrun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikaelvesavuori%2Ftriplecheck-example-cloudrun/lists"}