GraphQL Subscriptions with Apollo-Angular

Server: Use graphql-server + webSockets (see Express Sample)

Client: See the official githunt-angular app that uses subscriptions-transport-ws package to implement client side subscriptions (usage details here) (note that there is no helper for subscriptions in apollo-angular or in apollo-react, maybe coz it’s not needed)  or see this sample (or for react, see docs for react-apollo or it’s sample app

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s