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:
What you'll learn:
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.
In this lecture we cover the basics of GraphQL and talk about the benefits of using GraphQL over REST.
This lecture covers the GraphQL schema syntax in depth
This lecture covers the GraphQL query language and how these queries relate and are executed against the schema.
In this lesson we build our first GraphQL schema using graph.ql.
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.
In this lesson we learn about how to add filters to our queries to support rich querying.
In this lecture we connect our schema to a live API. You will truly understand the power of GraphQL after watching this lecture.
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.
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.
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.
This is the 2nd part of using the DataLoader. After you finish this lecture, you'll have a production-ready GraphQL server.
In this lecture, we learn about GraphQL mutations and how they work.
In this lecture, I show you what we're going to have created by the end of this section.
In this lecture, we're going to implement our Blog schema from scratch.
In this lecture, we're going to take our built GraphQL schema and serve and manipulate it using Express and GraphiQL.
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.
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!