# Routing by Hand, and Why Frameworks Exist

A node:http server routes each request with if statements on its method and path, reads a JSON body that arrives in pieces, and grows a little with every address, which is the work a framework such as Express takes over.

![Cheat sheet: Routing by Hand, and Why Frameworks Exist](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/9bd62e828ab843b29edec57d92018619.webp)

- Category: Node.js
- Level: Apprentice
- Tags: Endpoint (rest-api), Express, Framework, nodejs, Request Body (rest-api), rest-api
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/node-http-why-frameworks-cheat-sheet
