Route

Noun · Development

Definitions

  1. A mapping between a URL pattern (and optionally an HTTP method) and the handler function that should process matching requests. In frontend SPA frameworks, routes map URL paths to the components that render for that view.

    In plain English: A rule that tells a web application which code to run when someone visits a specific URL.

    Example: "Add a POST route at /api/webhooks/stripe to handle payment event callbacks."

Related Terms