https://github.com/ericclemmons/graphql-demo
Introduction to GraphQL (http://www.meetup.com/NodejsHouston/events/229815892/)
https://github.com/ericclemmons/graphql-demo
Last synced: about 1 year ago
JSON representation
Introduction to GraphQL (http://www.meetup.com/NodejsHouston/events/229815892/)
- Host: GitHub
- URL: https://github.com/ericclemmons/graphql-demo
- Owner: ericclemmons
- License: mit
- Created: 2016-04-10T20:02:18.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-13T02:57:11.000Z (about 10 years ago)
- Last Synced: 2025-03-10T19:03:19.537Z (over 1 year ago)
- Language: JavaScript
- Size: 3.79 MB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GraphQL Demo
> A functioning introduction to GraphQL for [Node.js Houston][0]
> –
This [presentation][1] & [demo](#demo) covers the following concepts:
- Benefits of GraphQL over REST.
- GraphQL structure vs. JSON.
- Adding `express-graphql` to `express` as a middleware.
- Using GraphiQL's interface.
- Querying a DB via GraphQL (i.e. queries).
- Writing to a DB via GraphQL (i.e. mutations).
- Loading & caching data with `dataloader`.
- Resources for diving deeper with GraphQL.
- - -
## Demo
> 
### Running the Demo
First, ensure you have the following dependencies installed:
- MySQL (`brew install mysql`)
- Node
```shell
$ nvm use
$ npm install
$ npm start
```
Open .
### Special Thanks
- [Spectacle](https://github.com/FormidableLabs/spectacle)
by
[@kenwheeler](https://github.com/kenwheeler).
- [spectacle-code-slide](https://github.com/thejameskyle/spectacle-code-slide)
by
[@thejameskyle](https://github.com/thejameskyle).
[0]: http://www.meetup.com/NodejsHouston/
[1]: presentation.pdf