Frontend Inbox

APIs and Contracts

The agreement between your UI and the server. GraphQL is one answer to this; these are the others.

7 articles

tRPC

Listed intRPCAPIs and Contractson

Typed procedure calls between a TypeScript client and server, with the types flowing through by inference.

External
tRPC · trpc.io
#api
#typescript

tRPC

Listed intRPCAPIs and Contractson

End-to-end type safety with no code generation, for when client and server share a repository.

Intermediate6 minDraft
#api
#typescript

OpenAPI

Listed inOpenAPIAPIs and Contractson

A machine-readable schema you generate a typed client from, instead of hand-writing one that drifts.

Intermediate7 minDraft
#api
#codegen

REST APIs

Listed inREST APIsAPIs and Contractson

Resources, verbs, and status codes — the conventions that make a client boring to write and easy to cache.

Beginner8 minDraft
#api
#http