Skip to content

Commit

Permalink
readme: add js-2-server diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-draeger committed Dec 7, 2018
1 parent e4615f3 commit 14819bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,9 @@ As already mentioned Pact is supporting a bunch of languages. A very handy combi
is defining a contract between a pure javascript based consumer (for instance a node.js app) doing ajax-requests
against some backend server providing an API.
In this example a basic [React](https://reactjs.org) app with [Jest](https://jestjs.io) as testing platform is assumed.
![js-2-server-diagram](js-2-server.png)
In this example a basic [React](https://reactjs.org) app (running on node.js) with [Jest](https://jestjs.io) as testing platform is assumed.
Your project structure could look [as follows](https://github.com/christian-draeger/pact-example/tree/master/consumer-ui).
#### Prerequisites
Expand Down
Binary file added js-2-server.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 14819bf

Please sign in to comment.