URL routing maps incoming requests to handler functions based on the URL path and HTTP method. This is a fundamental pattern in web servers and APIs.
This example shows a minimal router implementation using vanilla Node.js, without any framework dependencies.