graphql

is a query language for APIs and a runtime for fulfilling those queries with existing data.

Created: by Pradeep Gowda Updated: Nov 04, 2023 Tagged: graphql · api

Home page: GraphQL | A query language for your API

Introduction

Describe your data:

type Project {
  name: String
  tagline: String
  contributors: [User]  }

Ask for what you want:

{
  project(name: "GraphQL") {
    tagline
    }
}

Get predictable results:

{
  "project": {
    "tagline": "A query language for APIs"
    }
}

Tools

Use roapi to create GraphQL frontend for static datasets without writing code.