A query language for APIs. (https://graphql.org/)
Gets all the data from a single request.
Specify data types and their features.
Can be implemented in js-libs-react with js-libs-relay.
// 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"
}
}
- Keywords: tech