Learn Everything

Module · Backend Engineer

API Design

Contracts that survive their first client - resources, errors and version after version.

2 topics4 interactive tasks

TOPIC 01

Resource Modelling

Model the domain first, then expose it - and page through the result properly.

What you'll practice

  • Write an OpenAPI Contract — guided · beginner
  • Paginate Without Breaking Clients — practice · intermediate

A command you'll meet

cat ~/api/openapi/orders.yaml

The contract is the product. Open the task below for the full walkthrough.

TOPIC 02

Errors & Versioning

One error shape for every failure, and a plan for the version you will break someday.

What you'll practice

  • Standardise the Error Envelope — practice · intermediate
  • Version Without Breaking Clients — challenge · advanced

A command you'll meet

cat ~/api/errors.md

Clients only handle the errors you document. Open the task below for the full walkthrough.