A simple GraphQL server for powering examples of various GraphQL clients in various languages. Current stable version is 1.5.2, released occasionally. It provides a scaffold with features like Node interface (for Relay), globally unique IDs, connection-based pagination, limit/offset pagination, mutations, enums, custom scalars, unions, subscriptions, defer/stream, and artificial delays to emphasize defer/stream. Differentiators: it's a lightweight, ready-to-use example server that can be installed globally via npm and run with a single command, allowing developers to quickly test GraphQL client implementations without setting up their own server. It supports a PORT environment variable to control the server port.
npm install graphql-client-example-serverNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Global install and run the example GraphQL server on default port 4000.
Use the PORT environment variable to set a different port, e.g., PORT=5000 graphql-client-example-server
Ensure only one instance is running or use different ports.
Kill the process using port 4000 or set a different port via PORT env variable.
Run `npm install -g graphql-client-example-server` or use `npx graphql-client-example-server`.
No dependency data recorded yet.