A simple graphql-demo, which exposes an endPoint which can be quiered for books.
Schema:
type Book {
id: ID!
title: String!
author: String!
isbn: String!
url: String!
}
type Query {
allBooks: [Book!]!
}
type Mutation {
createBook(title: String!, author: String!): Book
}
Query samples:
query {
allBooks {
author,
title
}
}
query{
allBooks(filter:{
id:17
}) {
isbn
}
}
Try the endPoint.
Old endPoint is still up.
P.S: If you looking for older version, you can find it here -> v1