Basic example of a websocket server returning graphql Run server node server.js Run client node client.js Used Packages graphql-ws fastify-websocket