In memory of Saber Rastikerdar — creator of · Vazirmatn, the open typeface he gave the Persian web and asked nothing for.
Skip to content

API Design & Contracts

Designing the contract between frontend and backend.

Part: 03 · Application Architecture · Priority: Critical

Taxonomy

Second-level groups and their articles. Each article is a standalone entry following the template; its filename is the kebab-case form of the title.

Paradigms

  • REST
  • GraphQL
  • RPC
  • Realtime & Subscriptions

Contract Design

  • Resource & Schema Design
  • Versioning Strategies
  • Pagination & Filtering Conventions
  • Error Contract Design

Type Safety Across the Wire

  • End-to-End Type Safety (tRPC)
  • Code Generation from Schemas
  • Contract Testing

BFF & Aggregation

  • Backend-for-Frontend
  • API Gateways & Aggregation
  • Response Shaping

Index only. One canonical home per concept — overlapping ideas are owned here and cross-linked from other domains, never duplicated.

Peer-reviewed engineering decisions · MIT licensed