This presentation will go over the basics of the GraphQL query language and how to stand up a GraphQL Server using Apollo Server 2.0.
- Snowtooth Mountain API: A real GraphQL API for a fake ski resort
To run the finished project:
- Run
npm install
oryarn
to install the dependencies. - Run
npm start
and open your browser tohttp://localhost:4000
. - Try out a test query with GraphQL Playground. Add the following to the left panel and click "Play":
query {
allPhotos {
name
description
postedBy {
name
}
}
}
Or check out the project on Glitch!
- GraphQL: The main website for the GraphQL project.
- GraphQL on GitHub: The main GitHub repo for GraphQL's documentation, reference implementation (GraphQL.js), and other related projects
- GraphQL Spec: GraphQL's specification
- Apollo Docs: Apollo's documentation
- GraphQL Community Resources: Links to conference talks, Slack channels, Twitter accounts, blogs, and more, curated by the GraphQL community
- GitHub API: GitHub's public API
- SWAPI: The Star Wars API
- Public GraphQL APIs: A list of public APIs that can be queried with GraphQL
- Apollo Client: The GraphQL client developed by Meteor Development Group
- Relay: Facebook's GraphQL client library
- urql: Formidable Labs minimal React Query Library
- Eve Porcello: @eveporcello
- eve@moonhighway.com
- GraphQL Workshop
- Moon Highway