subscription-graphql
subscription-graphql copied to clipboard
Subscription POC with graphql and relay
Subscriptions with GraphQL + Relay
Starting the App
Build graphql schema: npm run build:schema
Run relay compiler: npm run relay
Run relay compiler in watch mode: npm run relay -- --watch
To start the server: npm run start:server. Server will be running at port 4000, and graphiql will be available at this port.
To start dev client: yarn start. App will be running at port 3000.
Helpful resources on graphql subscriptions
Tutorial: GraphQL Subscriptions on the Server
How to GraphQL - Subscriptions
Apollo GraphQL Subscriptions Docs
This project was bootstrapped with Create React App.