An open API service indexing awesome lists of open source software.

https://github.com/moonhighway/intro-to-graphql

This repository contains the course materials for an online intro to GraphQL course!
https://github.com/moonhighway/intro-to-graphql

Last synced: 11 months ago
JSON representation

This repository contains the course materials for an online intro to GraphQL course!

Awesome Lists containing this project

README

          


graphql logo
moon highway logo

# GraphQL Workshop

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.

## Instructor Info

- **Eve Porcello**: [Twitter](https://twitter.com/eveporcello) | [Email](mailto:eve@moonhighway.com)
- **Alex Banks**: [Twitter](https://twitter.com/moontahoe) | [Email](mailto:alex@moonhighway.com)
- **Moon Highway Training**: [Moon Highway Website](https://www.moonhighway.com) | [Mailing List](http://bit.ly/moonhighway) | [Articles](https://www.moonhighway.com/articles)

### GraphQL Query Language

- [Query Language Slides](https://slides.com/moonhighway/graphql-intro/)
- [Apollo Studio Link](https://studio.apollographql.com/sandbox/explorer)
- [Pet Library Playground](https://pet-library.moonhighway.com)
- [Moon Highway Vote Playground](http://vote.moonhighway.com)
- [Snowtooth Playground](https://snowtooth.moonhighway.com)
- [GitHub GraphQL Explorer](https://developer.github.com/v4/explorer/)
- [Lab Instructions](https://slides.com/moonhighway/snowtooth-query-lab/)

### Schema Slides

* [Schema Slides](https://slides.com/moonhighway/schema-definition-language)
* [Schema Cheatsheet](https://raw.githubusercontent.com/sogko/graphql-shorthand-notation-cheat-sheet/master/graphql-shorthand-notation-cheat-sheet.png)

### Building a GraphQL API

- [Snowtooth API](https://github.com/graphqlworkshop/snowtooth-api)
- [Snowtooth API: CodeSandbox Start](https://codesandbox.io/s/loving-turing-ri7pn)
- [Simple Strava Sample](https://github.com/eveporcello/simple-strava-sample/blob/master/index.js)
- [Pet Library - MongoDB](https://github.com/moonhighway/pet-library)
- [REST Data Sources](https://github.com/MoonHighway/countries-datasources)

### Apollo Client

#### Simple Requests

- curl Request

```sh
curl -X POST \
-H "Content-Type: application/json" \
--data '{ "query": "{allLifts{name}}" }' \
http://snowtooth.moonhighway.com
```

- [Fetch Sample](https://codesandbox.io/s/n3jro0o4n0)
- [graphql-request](https://codesandbox.io/s/4qzq5z2vz0)

### Tutorials and Resources

- [Apollo Odyssey](https://odyssey.apollographql.com/)
- [How to GraphQL](https://howtographql.com)
- [GraphQL.org](https://graphql.org)