Skip to content
Demonstrate pact
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Demonstrate pact

A full end to end demonstration of consumer driven contract testing using pact framework.

  • Ability to run pact broker locally using docker containers
  • Run and publish pacts for jvm and js consumers
  • Verify against a running microservice

Pact Broker startup

docker-compose up --build

Access at http://localhost:80 (Basic auth is username:shanelee007/password:password123)

Join the chat at

Development tracked on

Stories in Ready

Running pact broker via Kubernetes

Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications. It groups containers that make up an application into logical units for easy management and discovery.

To run pact broker via k8s check out README and resources here

Running pact broker via Elastic beanstalk file describes how to deploy pact broker container as an Elastic Beanstalk application.

Create eb env and deploy.


Useful Commands

`eb local run`  Runs commands on your local machine.
`eb local open` Open pact broker locally in browser
`eb local status`  Gets environment information and status locally
`eb use Sample-env-1`
`eb deploy `
`eb use Sample-env-1`

Pact broker postgres docker container



Docker compose file:

pact broker

You can’t perform that action at this time.