Add graphql (#26552)

This commit is contained in:
Ashley Woodall Clark
2019-02-13 09:30:36 -06:00
committed by Christopher McCormack
parent c3399893c6
commit bb70a07acd

View 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/)