AI Workshop: learn to build apps with AI →
GraphQL
Learn GraphQL, a query language for your API, and a runtime for fulfilling those queries with your existing data.

Join the AI Workshop and learn to build real-world apps with AI. A hands-on, practical program to level up your skills.


GraphQL is a query language for APIs that provides a more efficient and flexible alternative to REST. Developed by Facebook, it allows clients to request exactly the data they need, no more and no less, in a single request.

In this unit, you’ll learn the fundamentals of GraphQL. We’ll cover what GraphQL is and how it compares to REST APIs, setting up a GraphQL server with Node.js and Express, using Apollo Client for frontend applications, and implementing authentication with JWT and cookies.

GraphQL’s type system and introspection capabilities make it particularly powerful for complex applications where different clients need different data, and its developer experience has made it increasingly popular in modern web development.

Lessons in this unit:

0: ▶︎ Introduction
1: An introduction to GraphQL
2: GraphQL API vs REST API
3: How to create a GraphQL Server with Node.js and Express
4: A complete introduction to Apollo, the GraphQL toolkit
5: How to authenticate using GraphQL Cookies and JWT