GraphQL Subscriptions Using Apollo 2by@jlowery2663
11,410 reads

GraphQL Subscriptions Using Apollo 2

tldt arrow
Read on Terminal Reader🖨️

Too Long; Didn't Read

A side project involves writing a GraphQL API around the Universal Chess Interface (UCI) I originally developed a mock implementation and wrote about it awhile back. This post will cover the most basic implementation of subscription service and the client code that uses it. The GraphQL server will be based on ApolloServer, which will use an Express server as middleware. Subscriptions will use a WebSocket that is attached to a plain HTTP server (also managed by ApolloServer) There are two clients: the GraphQL Playground, and a client for use by Mocha to test the API.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - GraphQL Subscriptions Using Apollo 2
jefflowery HackerNoon profile picture

@jlowery2663

jefflowery

Learn More
LEARN MORE ABOUT @JLOWERY2663'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa