Module 08 of 10

GraphQL, gRPC & Beyond REST

Lessons

About This Module

REST is the most common style for web APIs, but it is not the only one. This module introduces two popular alternatives and helps you decide when each one is the better tool for the job.

It starts with GraphQL: a single endpoint, a typed schema, and queries and mutations that let clients ask for exactly the data they need. Next comes gRPC, which uses Protocol Buffers and HTTP/2 for fast, strongly typed communication between services, including streaming. It closes with side-by-side comparisons of REST, GraphQL, and gRPC, so you can weigh flexibility, performance, and simplicity for a given use case.

Watch the lessons in order, then continue on to Performance, Rate Limiting & Security, where you'll learn how to keep any API fast, fair, and safe under real-world traffic.

Lessons

4 videos
01

GraphQL Crash Course #1 - What is GraphQL?

The first lesson in a GraphQL series, introducing what GraphQL is and how queries and mutations let you work with an API.

02

Introduction to gRPC

An introduction to what gRPC is and why it is used, with a comparison to REST and a look at Protocol Buffers and streaming.

03

REST vs GraphQL vs gRPC Explained For Beginners: Which is Best?

A beginner-friendly comparison of the three API styles, covering the key differences along with pros and cons.

04

API Wars: REST vs GraphQL vs gRPC — When to Use Which

A side-by-side showdown of core concepts and trade-offs in speed, flexibility, and simplicity to help you choose the right API style.