Add graphql (#26552)
This commit is contained in:
committed by
Christopher McCormack
parent
c3399893c6
commit
bb70a07acd
22
guide/english/graphql/index.md
Normal file
22
guide/english/graphql/index.md
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
title: GraphQL
|
||||
---
|
||||
|
||||
## GraphQL
|
||||
|
||||
GraphQL is a query language developed by Facebook that provides a syntax to query data in from API. Unlike traditional REST APIs, GraphQL allows the client side of an application to ask for the exact pieces of data it requires in a readable way.
|
||||
|
||||
GraphQL schemas are often coupled with frameworks such as [Relay](https://facebook.github.io/relay/) or [Apollo](https://www.apollographql.com/) to make these requests from the client. GraphQL powers how [GatsbyJS](https://www.gatsbyjs.org) fetches data.
|
||||
|
||||
|
||||
### Installation
|
||||
|
||||
From the command line run:
|
||||
|
||||
```bash
|
||||
npm init
|
||||
npm install graphql --save
|
||||
```
|
||||
|
||||
#### More Information:
|
||||
For tutorials and more information check out the GraphQL official site: [Getting Started With GraphQL.js](https://graphql.org/graphql-js/)
|
Reference in New Issue
Block a user