Skip to content

magicmark/gql-book-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gql-book-server

A GraphQL server with Strawberry and FastAPI, supporting HTTP multipart subscriptions:

https://www.apollographql.com/docs/graphos/routing/operations/subscriptions/multipart-protocol

👉 Public URL: https://gql-book-server.fly.dev/graphql

Try it out!

Use the following query in GraphiQL to test a subscription:

subscription {
  book {
    title
    author
  }
}

...or with curl:

curl -XPOST https://gql-book-server.fly.dev/graphql \
  -H 'content-type: application/json' \
  -H 'accept: multipart/mixed;subscriptionSpec="1.0", application/json' \
  -d '{"query":"subscription { book { id title author } }"}'

About

GraphQL Subscriptions Multipart Protocol Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published