03. Backend

The part of a web app that runs on a server, not in the user’s browser. Handles data, logic, authentication, and anything that needs to be trusted or kept secret. In a modern Next.js app, the line between “frontend” and “backend” is blurry — this section covers what’s on the server side of that line.


Entries

#EntryStatusOne-line description
1What is a backend?🟩 COMPLETEThe “trusted” half of an app — runs on servers, hides secrets, owns data
2APIs — the big picture🟩 COMPLETEWhat an API actually is and the families of API styles
3REST APIs🟩 COMPLETEThe most common pattern: GET, POST, PUT, DELETE on URLs
4GraphQL🟩 COMPLETEAn alternative to REST where the client describes the data it wants
5Node.js🟩 COMPLETE 🟦 LIVINGThe JavaScript runtime that lets JS run on servers
6Serverless functions🟩 COMPLETECode that runs on demand, spins up only when called, scales to zero
7Edge functions🟩 COMPLETEServerless code that runs close to the user, geographically
8Next.js server actions🟩 COMPLETE 🟦 LIVINGThe “form submits to a server function” pattern, integrated into React
9Webhooks🟩 COMPLETE”Reverse” APIs — an external service POSTs to your endpoint when something happens

Suggested reading order

1 → 2 → 3 (or 4) → 5 → 6/7 → 8 → 9. The first three are essential; the rest you grab as you encounter the relevant tools.

See also

9 items under this folder.