Simple example of GraphQL subscriptions with separate client and server
- Client: Apollo + Vue.js
- Server: Express + Apollo GraphQL
- Client: Apollo + Vue.js
- Server: Koa2 + Apollo GraphQL
If you need react app, use apollo-graphql-subscriptions-example
git clone https://github.com/nikitamarcius/graphql-subscriptions
git clone https://github.com/nikitamarcius/graphql-subscriptions
cd graphql-subscriptions
git checkout koa
for each folder: test-client and test-server perform separate installation:
$ cd <folder-name>
$ npm i
$ npm run dev