├── .gitignore └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | graphql logo 3 | moon highway logo 4 |

5 | 6 | # GraphQL Workshop 7 | 8 | Welcome! We're really glad you're here! Below you'll find all of the resources that we'll use throughout this course. If you're looking for slides, samples, links, etc., this is the place to look. 9 | 10 | ## Instructor Info 11 | 12 | - **Eve Porcello**: [Twitter](https://twitter.com/eveporcello) | [Email](mailto:eve@moonhighway.com) 13 | - **Alex Banks**: [Twitter](https://twitter.com/moontahoe) | [Email](mailto:alex@moonhighway.com) 14 | - **Moon Highway Training**: [Moon Highway Website](https://www.moonhighway.com) | [Mailing List](http://bit.ly/moonhighway) | [Articles](https://www.moonhighway.com/articles) 15 | 16 | ### GraphQL Query Language 17 | 18 | - [Query Language Slides](https://slides.com/moonhighway/graphql-intro/) 19 | - [Apollo Studio Link](https://studio.apollographql.com/sandbox/explorer) 20 | - [Pet Library Playground](https://pet-library.moonhighway.com) 21 | - [Moon Highway Vote Playground](http://vote.moonhighway.com) 22 | - [Snowtooth Playground](https://snowtooth.moonhighway.com) 23 | - [GitHub GraphQL Explorer](https://developer.github.com/v4/explorer/) 24 | - [Lab Instructions](https://slides.com/moonhighway/snowtooth-query-lab/) 25 | 26 | ### Schema Slides 27 | 28 | * [Schema Slides](https://slides.com/moonhighway/schema-definition-language) 29 | * [Schema Cheatsheet](https://raw.githubusercontent.com/sogko/graphql-shorthand-notation-cheat-sheet/master/graphql-shorthand-notation-cheat-sheet.png) 30 | 31 | ### Building a GraphQL API 32 | 33 | - [Snowtooth API](https://github.com/graphqlworkshop/snowtooth-api) 34 | - [Snowtooth API: CodeSandbox Start](https://codesandbox.io/s/loving-turing-ri7pn) 35 | - [Simple Strava Sample](https://github.com/eveporcello/simple-strava-sample/blob/master/index.js) 36 | - [Pet Library - MongoDB](https://github.com/moonhighway/pet-library) 37 | - [REST Data Sources](https://github.com/MoonHighway/countries-datasources) 38 | 39 | ### Apollo Client 40 | 41 | #### Simple Requests 42 | 43 | - curl Request 44 | 45 | ```sh 46 | curl -X POST \ 47 | -H "Content-Type: application/json" \ 48 | --data '{ "query": "{allLifts{name}}" }' \ 49 | http://snowtooth.moonhighway.com 50 | ``` 51 | 52 | - [Fetch Sample](https://codesandbox.io/s/n3jro0o4n0) 53 | - [graphql-request](https://codesandbox.io/s/4qzq5z2vz0) 54 | 55 | ### Tutorials and Resources 56 | 57 | - [Apollo Odyssey](https://odyssey.apollographql.com/) 58 | - [How to GraphQL](https://howtographql.com) 59 | - [GraphQL.org](https://graphql.org) 60 | --------------------------------------------------------------------------------