Skip to content

DavidBuck/node-graphql-subscription-example

Repository files navigation

GraphQL subscription server example

This is a simple GraphQL subscription server example using graphql-yoga.

Run npm run start to start the server.

Go to http://localhost:3000/playground to launch the GraphQL Playground.

Subscribe to the server:

subscription {
  sensor {
    time
    temp
    humidity
  }
}

Tools

About

Simple GraphQL subscription server example using graphql-yoga

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published