Skip to content

alessioerosferri/pact-demo

Repository files navigation

Pact Demo

Purpose

This repository contains a working example of two basic microservices implementing Consumer Driven Contract Testing using Pact.

Deployment information

This code is not meant to be deployed to any environment rather than local execution. It has been built solely for the purpose of showing how Consumer Driven Contract Testing works.

Requirements

In order to run this code on your machine, you need to have the following dependencies:

  • NodeJS (at least 14)
  • Yarn

Installation

To install all dependencies, run the following command:

yarn install

Usage

This code can run locally via the following command:

yarn start

Testing

The tests can be run locally via the following command:

yarn test

Author

  • Alessio Eros Ferri

About

Microservices with peace of mind

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published