Building Better APIs with GraphQL
3.3 (89 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
546 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Building Better APIs with GraphQL to your Wishlist.

Add to Wishlist

Building Better APIs with GraphQL

Step-by-step guide to building a better and faster API with GraphQL
3.3 (89 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
546 students enrolled
Created by Matthew Mueller
Last updated 12/2015
English
Current price: $10 Original price: $50 Discount: 80% off
3 days left at this price!
30-Day Money-Back Guarantee
Includes:
  • 2.5 hours on-demand video
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Create powerful GraphQL APIs
  • Build APIs faster than ever before
  • Answer important questions about your data
  • Glue your data and 3rd party data together into one easy-to-use API
View Curriculum
Requirements
  • Basic Javascript Knowledge
  • Node.js Installed
  • An text editor
  • A willingness to learn
Description

This course teaches you everything you need to know about GraphQL. GraphQL was open sourced by Facebook in 2015 and is a fresh new approach to API development.

GraphQL will replace REST in the coming years. Don't just take my word for it though, here's what some other folks on Twitter are saying:

"Just watched a talk on GraphQL, I want this thing and I want it by yesterday" – @sunesimonsen

"I long for the day when GraphQL will be the new API standard."@xinron

"GraphQL is the King. Long Live the King! (R.I.P. REST)" – @scbarrus

––––––––––––––––––––––

About this course:

  • We build two projects from scratch so you have everything you need to know to use GraphQL
  • Full, free lifetime access
  • Unconditional Udemy 30 day money-back guarantee - that's my personal promise of your success!
  • On-screen, over my shoulder view of where to go, what to click on, and how to set everything up from start to finish


What you'll learn:

  • How the GraphQL schema works so you can use GraphQL on your own servers
  • How to query GraphQL so you can access and mutate your data
  • We'll start simple, creating a schema with dummy data
  • Then we'll hook up our with schema to a live Star Wars API
  • We'll learn how to query the data, filter the data, and optimize the queries with DataLoader
  • We'll cover how to put the schema on an Express server so you can get access to your data with just HTTP requests
  • Then we'll get started with mutations, the GraphQL version of POST, PUT, and DELETE of REST
  • We'll build a blog API using just GraphQL mutations and queries, tying everything we've learned so far
  • We'll cover the state of GraphQL Subscriptions, an emerging and evolving standard

So you've read this far! Thank you.

One final and important point

If you've ever had trouble working with REST in the past, it's not your fault. It's been the recommended way of building APIs since 1996. There are countless articles on creating "thoughtful RESTful APIs", but none of them ever seem to apply to what you're working on. GraphQL offers a way out of this madness.

I've been running a GraphQL server in production for the last 3 months and it's sped up our response time, simplified our architecture and made it easier to access our data. I am not alone. Many multi-million dollar companies are also seeing the benefits of GraphQL in production including the Financial Times, Artsy, and Facebook.

Let's get started. Click the "Take this Course" button in the top-right corner right now and I'll see you on the other side.

Matthew Mueller

Who is the target audience?
  • You should take this course if you have data you need to access easily
  • You should take this course if you want to upgrade your API skills. If you need to access your data in a flexible and reliable way, this course is for you
  • You should not take this course if you're looking for a React or Relay course. This course covers GraphQL as a standalone technology
Students Who Viewed This Course Also Viewed
Curriculum For This Course
16 Lectures
02:23:06
+
GraphQL Basics
3 Lectures 17:13

In this lecture we cover the basics of GraphQL and talk about the benefits of using GraphQL over REST.

Preview 07:38

This lecture covers the GraphQL schema syntax in depth

Preview 04:21

This lecture covers the GraphQL query language and how these queries relate and are executed against the schema.

Understanding GraphQL Queries
05:14
+
GraphQL Queries
8 Lectures 01:31:51

In this lesson we build our first GraphQL schema using graph.ql.

Creating our First GraphQL Schema
08:32

In this lesson we implement our first schema. We talk about how to implement scalars, fill in type implementations and kick off the GraphQL query.

I've attached the final code if you'd like to follow along with the code in front of you.

Implementing our GraphQL Schema
19:15

In this lesson we learn about how to add filters to our queries to support rich querying.

Adding Filters to our GraphQL Schema
02:22

In this lecture we connect our schema to a live API. You will truly understand the power of GraphQL after watching this lecture.

Getting Real: Hooking our GraphQL Schema up to a Starwars API
19:59

Up until this point, we were executing queries directly in our editor. In this lesson, we create a server to serve our GraphQL schema. After this lesson you'll be able to query your data by making requests to the server.

GraphQL on the Server
06:55

In this lecture, we learn about GraphiQL, which is an editor that makes testing, debugging and administrating GraphQL servers much, much easier. This lecture will make you fall in love with GraphQL a second time.

Getting to Know GraphiQL
10:16

Up until this point, we were naively making HTTP requests to the Star Wars API. In this episode we look at optimizing and actually simplifying these queries using Facebook's DataLoader.

This is the 1st part of a 2 part lecture.

Optimizing our Queries with DataLoader (Part I)
14:31

This is the 2nd part of using the DataLoader. After you finish this lecture, you'll have a production-ready GraphQL server.

Optimizing our Queries with DataLoader (Part II)
10:01
+
GraphQL Mutations
4 Lectures 28:34

In this lecture, we learn about GraphQL mutations and how they work.

Introduction to GraphQL Mutations
03:56

In this lecture, I show you what we're going to have created by the end of this section.

What We're Going to Build
01:22

In this lecture, we're going to implement our Blog schema from scratch.

Creating our Blog Schema
14:32

In this lecture, we're going to take our built GraphQL schema and serve and manipulate it using Express and GraphiQL.

Serving our Blog Schema
08:44
+
GraphQL Subscriptions
1 Lecture 05:28

In this lecture, I cover the basics of GraphQL subscriptions. This lecture does not come with an implementation because the semantics of subscriptions have not been ironed out yet (it was just introduced a month ago).

I'm going to give you the lay of the land in this lecture, and will be adding more videos (for free) as the spec gets ironed out.

The State of GraphQL Subscriptions
05:28
About the Instructor
Matthew Mueller
3.3 Average rating
89 Reviews
546 Students
1 Course
Web Developer. Open Source Advocate. Light Packer.

I've been building websites for the last 12 years. In college I spent 3 years teaching college students how to design and build websites. After college I packed up my bags and moved to San Francisco to work for various companies large and small including Yahoo, Automattic and Coinbase. In addition to working for other companies, I've also helped start some web companies including Lapwing Labs, Gittask and Finbox. I put most of my code up on Github for anyone to learn from and use for free.

Over the years, I've consistently tried to simplify complex development concepts into digestable, easy to understand principles.

I'm here to teach you these principles and discoveries, so you are empowered to create the next big thing in tech.

Feel free to reach out with your questions and comments. I look forward to hearing from you!