# graphql

- Page: https://shared.btbytes.com/p/graphql
- Date: 2023-04-26
- Tags: api, graphql

Don't use [GraphQL](https://graphql.org/)
 -- [Why, after 6 years, I’m over GraphQL](https://bessey.dev/blog/2024/05/24/why-im-over-graphql/); May 2024, [via](https://news.ycombinator.com/item?id=40521518)

## 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](https://shared.btbytes.com/p/roapi) to create GraphQL frontend for static datasets without writing code.
