graphql-client-example-server
A simple GraphQL server for powering examples of various GraphQL clients in various languages.
Installation
You can install and run the server without needing to clone this repo by doing:
npm install -g graphql-client-example-server...and then simply running with graphql-client-example-server.
You can also provide a PORT environment variable to control what port the server will run on (default 4000).
Developing
Running
yarn startBuilding
yarn && yarn build --watch
// In a separate terminal
yarn startFeatures to cover
- <input checked="" disabled="" type="checkbox"> Node interface (for Relay)
- <input checked="" disabled="" type="checkbox"> Globally unique IDs
- <input checked="" disabled="" type="checkbox"> Database IDs
- <input checked="" disabled="" type="checkbox"> Connection-based pagination
- <input checked="" disabled="" type="checkbox"> Limit/offset-based pagination
- <input checked="" disabled="" type="checkbox"> Mutations
- <input checked="" disabled="" type="checkbox"> Enums
- <input checked="" disabled="" type="checkbox"> Custom scalars
- <input checked="" disabled="" type="checkbox"> Unions
- <input checked="" disabled="" type="checkbox"> Subscriptions
- <input checked="" disabled="" type="checkbox"> Defer/stream
- <input checked="" disabled="" type="checkbox"> Artifical delay's to emphasize defer/stream