https://github.com/tw00/graphql-subscriptions-example
A minimal Server and Client demonstrating GraphQL Subscriptions
https://github.com/tw00/graphql-subscriptions-example
graphql graphql-subscriptions subscriptions-transport-ws
Last synced: 5 months ago
JSON representation
A minimal Server and Client demonstrating GraphQL Subscriptions
- Host: GitHub
- URL: https://github.com/tw00/graphql-subscriptions-example
- Owner: tw00
- License: mit
- Created: 2020-05-21T12:58:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T20:29:43.000Z (almost 3 years ago)
- Last Synced: 2025-02-17T20:19:41.734Z (8 months ago)
- Topics: graphql, graphql-subscriptions, subscriptions-transport-ws
- Language: JavaScript
- Homepage:
- Size: 4.22 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GraphQL Subscriptions Example
A minimal Server and Client demonstrating [GraphQL Subscriptions](http://spec.graphql.org/draft/#sec-Subscription)

## Dependencies
- Server:
- [`graphql-subscriptions`](https://github.com/apollographql/graphql-subscriptions)
- [`subscriptions-transport-ws`](https://github.com/apollographql/subscriptions-transport-ws)- Client:
- `apollo-client`
- `apollo-link-ws`## Scripts
### `yarn start:server`
Run server
### `yarn start`
Runs the app in the development mode.
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.### `yarn build`
Builds the app for production to the `build` folder.