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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contract-Testing

1. Clone repo and install npm packages

git clone https://github.com/ondiekelijah/sample-microservice.git

2. Install required packages

Consumer
cd users_frontend
npm install
Provider
cd users_api
npm install

3. Run tests

Consumer
cd users_frontend
npm test
Provider
cd users_api
npm test

About

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.


Languages

Language:JavaScript 95.5%Language:Dockerfile 4.5%