NOTE: this demo uses an old version of graphql-tools (0.2.0), although a similar technique should work with the latest version.
A demo of the simple yet powerful mocking capability in graphql-tools.
To run the demo yourself, git clone the repo and then
npm install npm start
point your browser at http://localhost:8080 to see the demo.