An open API service indexing awesome lists of open source software.

https://github.com/ondiekelijah/contract-testing-webapp

This is an example microservice that showcases the use of contract testing to ensure that a service provider and consumer agree on the structure and behavior of their interactions.
https://github.com/ondiekelijah/contract-testing-webapp

axios express pact

Last synced: about 1 year ago
JSON representation

This is an example microservice that showcases the use of contract testing to ensure that a service provider and consumer agree on the structure and behavior of their interactions.

Awesome Lists containing this project

README

          

# Contract-Testing

#### 1. Clone repo and install npm packages

```bash
git clone https://github.com/ondiekelijah/sample-microservice.git
```
#### 2. Install required packages

##### Consumer
```bash
cd users_frontend
npm install
```
##### Provider
```bash
cd users_api
npm install
```

#### 3. Run tests

##### Consumer
```bash
cd users_frontend
npm test
```
##### Provider
```bash
cd users_api
npm test
```