REST API
From Roy Fielding's constraints to everyday practice: how to design consistent, predictable REST APIs with the right URLs, methods, pagination, and status codes.

From Roy Fielding's constraints to everyday practice: how to design consistent, predictable REST APIs with the right URLs, methods, pagination, and status codes.

A step-by-step walk through the request and response cycle: how proxies, routing, middleware, controllers, services, and repositories work together in a layered backend.

How controllers check and reshape incoming data before it reaches business logic, why the backend must never trust the frontend, and where each step fits in the MVC flow.

From wax seals to OAuth: how backends verify who a user is and control what they can do, using sessions, JWTs, API keys, OAuth/OIDC, and RBAC.

How different systems share data through a common format: what serialization and deserialization are, the main format types, and how JSON structures data.

How backend APIs map requests to endpoints: static, dynamic, and nested routes, path and query parameters, and versioning that keeps old clients working.
