You'll learn GraphQL basics and how to stand up a server in Ruby. We'll start with a tiny Sinatra app, then add types, queries, and mutations.
Overview
Syllabus
Getting Started with GraphQL
- Change the GraphQL Hello Message
- Fixing a Bug in a Basic GraphQL Ruby Server
- Complete the Basic GraphQL Server and Client in Ruby
- Querying the GraphQL Server with Ruby
- Create a Basic GraphQL Server and Query in Ruby
Introduction to GraphQL Server
- Add a Year Field to the Book Type and Query
- Fixing a Basic GraphQL Server and Query in Ruby
- Add a Publisher Type and Field to the GraphQL Schema
- Fetch a List of Songs with GraphQL and Sinatra
- Build a GraphQL Sinatra Server for Songs and Query It
Querying with Arguments
- Querying Books by Title Instead of ID in GraphQL Ruby
- Fixing GraphQL Query Arguments for Book Lookup by Title in Ruby
- Add a Query to Fetch a Book by Title in GraphQL Ruby Server
- Extending GraphQL Schema and Queries with a Movie Type in Ruby
- Querying Movies by ID with Arguments in GraphQL (Ruby & Sinatra)
Integrating GraphQL with Sinatra
- Integrate graphql-ruby with Sinatra in an Existing Server
- Debugging a Sinatra GraphQL Server Integration
- Integrate graphql-ruby with Sinatra for an Actor API
- Build a GraphQL Movies API with Sinatra and graphql-ruby