This is a monorepo so start in the root directory with:
npm i
npm run bootstrap:local
Which will go through all 3 packages installing dependencies
services
|- apiA (Fastify server)
|- apiB (Fastify server)
|- ui (React app)
Run all three services in parallel using:
npm run start:all
And all that happens is the React demo app calls apiA which calls apiB.
React app (consumer) - apiA (provider)
apiA (consumer) - apiB (provider)
- Create mock server for apiA to test in isolation
- Add Pact contract for ui and apiA
- Add Pact contract for apiA and apiB