├── .gitignore └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .vscode/ 3 | .DS_Store -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # GraphQL Workshop Links and Resources 2 | 3 | ### Query Language 4 | 5 | - [Query Language Slides](https://slides.com/moonhighway/graphql-intro/) 6 | - [Snowtooth Playground](https://snowtooth.moonhighway.com) 7 | - [Pet Library Playground](https://pet-library.moonhighway.com) 8 | - [Moon Highway Vote Playground](http://vote.moonhighway.com) 9 | - [Github GraphQL Explorer](https://developer.github.com/v4/explorer/) 10 | - [SWAPI: Star Wars API](http://graphql.org/swapi-graphql/) 11 | - [Lab Instructions](https://slides.com/moonhighway/snowtooth-query-lab/) 12 | 13 | ### Schema Design 14 | 15 | - [Schema Definition Language](https://slides.com/moonhighway/schema-definition-language/) 16 | - [City to City Through Types](https://codesandbox.io/s/5vzn2rkzxn) 17 | - [Union Types](https://codesandbox.io/s/rm2rx3opqm) 18 | - [Interfaces](https://codesandbox.io/s/71x8n304r1) 19 | - [Event Interfaces](https://codesandbox.io/s/mm36pp93p9) 20 | - [SWAPI - Launchpad](http://bit.ly/swapi-launchpad) 21 | - [Modular Schema](https://github.com/eveporcello/schema-workshop/tree/master/06-extras/modularizing-a-schema/finished) 22 | - [Lab Instructions](https://slides.com/moonhighway/schema-lab/) 23 | - [Possible Lab Solutions](https://github.com/graphqlworkshop/schema-activity) 24 | 25 | 26 | ### Building a Server 27 | 28 | - [Exercise Start Files](https://github.com/graphqlworkshop/snowtooth-api) 29 | - [Lab Instructions](https://slides.com/moonhighway/server-lab/) 30 | - [Sample Data](https://bit.ly/2VF5zJU) 31 | - [Starting Schemas](https://github.com/graphqlworkshop/schema-activity) 32 | - [Simple Strava Sample](https://github.com/eveporcello/simple-strava-sample/blob/master/index.js) 33 | 34 | ### Midclass Evaluation 35 | 36 | - [Anonymous Evaluation](https://docs.google.com/forms/d/e/1FAIpQLSf4LDSnkxJUC1gxJH2p9U4UnKrp3T9O9y3ASMHHnJLsYfJGcA/viewform?usp=sf_link) 37 | 38 | ### Unions & Interfaces 39 | - [Unions & Interfaces Slides](https://slides.com/moonhighway/unions-interfaces) 40 | - [Refactored Pet Library](http://funded-pet-library.moonhighway.com/) 41 | - [Union Types](https://codesandbox.io/s/rm2rx3opqm) 42 | - [Interfaces](https://codesandbox.io/s/71x8n304r1) 43 | - [Event Interfaces](https://codesandbox.io/s/mm36pp93p9) 44 | - [Union Search - Complete](https://github.com/graphqlworkshop/snowtooth-unions/tree/complete) 45 | - [Employee Interface - Complete](https://github.com/graphqlworkshop/interface-lab/tree/complete) 46 | 47 | 48 | ### Apollo Client 49 | 50 | #### Simple Requests 51 | 52 | - curl Request 53 | 54 | ```sh 55 | curl -X POST \ 56 | -H "Content-Type: application/json" \ 57 | --data '{ "query": "{allLifts{name}}" }' \ 58 | http://snowtooth.moonhighway.com 59 | ``` 60 | 61 | - [Fetch Sample](https://codesandbox.io/s/n3jro0o4n0) 62 | - [graphql-request](https://codesandbox.io/s/4qzq5z2vz0) 63 | 64 | #### Apollo Link Examples 65 | 66 | - [Apollo Link Slides](https://slides.com/moonhighway/apollo-links) 67 | - [Observable Intro](https://codesandbox.io/s/176q4zpl4) 68 | - [Observable + Link](https://codesandbox.io/s/ql5xqkojyj) 69 | - [HTTP Link](https://codesandbox.io/s/koj24j5l07) 70 | - [Concatenating Links](https://codesandbox.io/s/ql4jlz54yq) 71 | - [Terminating Link: Start](https://codesandbox.io/s/objective-dawn-36rzq) 72 | - [Terminating Link: Finish](https://codesandbox.io/s/mutable-smoke-qkvgc) 73 | 74 | ### Apollo & React 75 | 76 | - [React Overview](https://slides.com/moonhighway/react-overview) 77 | - [Snowtooth UI Start Files](https://github.com/graphqlworkshop/snowtooth-ui) 78 | - [Lab](https://slides.com/moonhighway/client-lab/) 79 | 80 | ### Extras 81 | 82 | #### Apollo Federation 83 | 84 | - [Federation Sample -- Start](https://github.com/graphqlworkshop/snowtooth-federation-lab) 85 | - [Federation Sample -- Complete](https://github.com/graphqlworkshop/snowtooth-federation-lab/tree/complete) 86 | 87 | #### Custom Scalars 88 | 89 | - [Custom Scalars - Pets](https://codesandbox.io/s/pw32jkj04j) 90 | - [Custom Scalars - Crypto](https://codesandbox.io/s/53o3pmy43n) 91 | 92 | #### GraphQL Error Handling 93 | * [GraphQL Errors](https://www.apollographql.com/docs/react/features/error-handling) 94 | * [Error Handling at Medium, Sasha Solomon](https://www.youtube.com/watch?v=GYBhHUGR1ZY) 95 | 96 | --------------------------------------------------------------------------------