Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.85 KB

File metadata and controls

49 lines (34 loc) · 1.85 KB

pact-consumer-contract-react-example

An example of a Pact consumer contract test for the communication between a React application and a backend API. The domain is a simple "Give Us Feedback" functionality.

Documentation

Links to some of the articles and documentation used to implement this project:

Available Scripts

This project was bootstrapped with Create React App.

Below you will find some information on how to perform common tasks.
You can find the most recent version of this guide here.

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.