mockend

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": { "min": 0, "max": 100 } },
    "published": { "boolean": {} },
    "createdAt": { "dateTime": { "max": "2020-12-31T10:10:10Z" } },
    "comments": { "hasMany": "Comment" }
  },
  "Comment": {
    "body": { "string": {} },
    "post": { "belongsTo": "Post" }
  }
}