Demonstration of experimental GraphQL features with the following transports:
graphql-helix
- GraphQL over HTTPgraphql-ws
- GraphQL over WebSocket
Showcasing the following features with Fetcher implementations on GraphiQL:
- Query (HTTP, HTTP-Multipart, WebSocket)
- Mutation (HTTP, HTTP-Multipart, WebSocket)
- Query with @defer (HTTP-Multipart, WebSocket)
- Query with @stream (HTTP-Multipart, WebSocket)
- Subscription (WebSocket/SSE)
- Query with @live (WebSocket/SSE)
Powered by the following libraries:
- graphql-js - The JavaScript reference implementation for GraphQL
- SSE-Z - Simple SSE wrapper
- meros - Easy multiresponse parser
- graphql-live-query - GraphQL live queries for any GraphQL schema
- graphql-helix with SSE-Z does not propagate GraphQL validation errors to the client properly
-
clone this repo
-
Make sure you have yarn and node v14 installed
-
Run
yarn install
Start the server with yarn server:start
Start the frontend yarn start
Visit localhost:3000/__dev__/graphiql
Execute some operations :)