pcwinters / fakes_and_contract_testing

A monorepo demonstration of using contract testing with API fakes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A janky example of pairing an API fake with UI development, verified using consumer contract testing.

See my blog post, "A Strategy for Parallel Vertical Development: API Fakes and Contract Testing"

Usage

There are 2 projects in this workspace to run simultaneously. With two terminals, and your working directory in each package, run yarn start.

First start the fake API (packages/todos-fake). Then, starting the UI app (packages/my-app), built with create-react-app will launch your web browser to http://localhost:3000/.

About

A monorepo demonstration of using contract testing with API fakes

License:The Unlicense


Languages

Language:JavaScript 64.7%Language:HTML 30.8%Language:Shell 4.5%