A very basic example of how to consume a GraphQL API in React
This extremely basic React Apollo client displays information retrieved from a GraphQL express server. Designed to work alongside the graphql-express-server application.
Run the application
Make sure to have the latest graphql-express-server running locally on port 1337
.
Lazystart
git clone git@github.com:krynv/react-graphql-client && npm i && npm start