Beyond REST in API
Lessons in this section
- GraphQL
Let the client ask for exactly the fields it needs, in one request, with a GraphQL query.
- gRPC
Let services talk fast with small binary protobuf messages and a strict .proto contract.
- REST vs GraphQL vs gRPC
Start with REST, and pick GraphQL, gRPC, webhooks or Server-Sent Events only when you have a clear reason.
- Capstone Project: Loyalty Points API
Build a complete Loyalty Points API for Brew & Bytes: validated, retry-safe, authorized, versioned, documented and monitored.