Live demo
Below you'll find the mock GraphQL API for the following mockend.json. It's live, so feel free to try some queries.
{
"Post": {
"title": "string",
"views": "int",
"published": "boolean",
"comments": "Comment[]"
},
"Comment": {
"body": "string",
"post": "Post"
}
}