/specmatic-marketplacer-graphql-ui-react

Sample project in which Specmatic stubs out a backend GraphQL integration using the GraphQL specification file

Primary LanguageJavaScript

Diagram

Specmatic UI project for GraphQL demo

Pre-requisites

Install the node packages for this project.

npm install

Start up the Specmatic stub

npm run specmatic:stub

Start the application

npm start

This should automatically start the application and pull it up in your browser.

Explore the GraphQl spec using GraphiQL

npm run graphiql

You can now open GraphiQL in your browser and test out some GraphQL queries.

This instance of GraphiQL has been setup to query the Specmatic stub instance running on http://localhost:4000/graphql.