Socket
Socket
Sign inDemoInstall

graphql-client-example-server

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-client-example-server

A simple GraphQL server for powering examples of various GraphQL clients in various languages.


Version published
Weekly downloads
35
increased by150%
Maintainers
1
Weekly downloads
 
Created
Source

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 start

Building

yarn && yarn build --watch

// In a separate terminal
yarn start

Features to cover

  • Node interface (for Relay)
  • Globally unique IDs
  • Database IDs
  • Connection-based pagination
  • Limit/offset-based pagination
  • Mutations
  • Enums
  • Custom scalars
  • Unions
  • Subscriptions
  • Defer/stream
  • Artifical delay's to emphasize defer/stream

FAQs

Package last updated on 10 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc