{"id":22841524,"url":"https://github.com/paucls/pact-consumer-contract-react-example","last_synced_at":"2025-10-15T04:56:10.900Z","repository":{"id":149264873,"uuid":"81078405","full_name":"paucls/pact-consumer-contract-react-example","owner":"paucls","description":"An example of a Pact consumer contract test for the communication between a React application and a backend API.","archived":false,"fork":false,"pushed_at":"2017-02-06T11:04:02.000Z","size":31,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T04:40:35.202Z","etag":null,"topics":["consumer-driven-contracts","pact","pact-tests"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paucls.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-06T11:02:17.000Z","updated_at":"2018-10-16T16:24:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"b69b9e76-8438-4f14-9ac9-a30f6563ee3d","html_url":"https://github.com/paucls/pact-consumer-contract-react-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/paucls/pact-consumer-contract-react-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paucls%2Fpact-consumer-contract-react-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paucls%2Fpact-consumer-contract-react-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paucls%2Fpact-consumer-contract-react-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paucls%2Fpact-consumer-contract-react-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paucls","download_url":"https://codeload.github.com/paucls/pact-consumer-contract-react-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paucls%2Fpact-consumer-contract-react-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279050898,"owners_count":26093606,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"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-driven-contracts","pact","pact-tests"],"created_at":"2024-12-13T01:16:51.691Z","updated_at":"2025-10-15T04:56:10.874Z","avatar_url":"https://github.com/paucls.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pact-consumer-contract-react-example\n\nAn example of a Pact consumer contract test for the communication between a React application and a backend API. The domain \nis a simple \"Give Us Feedback\" functionality.\n\n## Documentation\nLinks to some of the articles and documentation used to implement this project:\n- Pact JS\nhttps://github.com/pact-foundation/pact-js\n- Pact Node wrapper\nhttps://github.com/pact-foundation/pact-node\n- Consumer Driven Contracts using Pact\nhttp://blog.scottlogic.com/2017/01/10/consumer-driven-contracts-using-pact.html\n- Getting started with Pact testing, Charlie Gerard\nhttp://charliegerard.github.io/blog/getting-started-pact-testing/\n- PACT Best practices\nhttps://github.com/realestate-com-au/pact/wiki/Best-practices\n\n## Available Scripts\n\nThis project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).\n\nBelow you will find some information on how to perform common tasks.\u003cbr\u003e\nYou can find the most recent version of this guide [here](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md).\n\nIn the project directory, you can run:\n\n### `npm start`\n\nRuns the app in the development mode.\u003cbr\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr\u003e\nYou will also see any lint errors in the console.\n\n### `npm test`\n\nLaunches the test runner in the interactive watch mode.\u003cbr\u003e\nSee the section about [running tests](#running-tests) for more information.\n\n### `npm run build`\n\nBuilds the app for production to the `build` folder.\u003cbr\u003e\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\u003cbr\u003e\nYour app is ready to be deployed!\n\nSee the section about [deployment](#deployment) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaucls%2Fpact-consumer-contract-react-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaucls%2Fpact-consumer-contract-react-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaucls%2Fpact-consumer-contract-react-example/lists"}