Skip to main content

Glossary

What Is a Route

A route maps a web address to a specific action in your software. Learn what routes are and how they direct traffic in web applications.

Definition

A route is a rule that maps a web address to a specific action inside an application. When someone visits a URL or a system sends a request, the application checks its list of routes to determine what should happen. Routes connect the address being requested to the piece of code that should handle it. A URL like /projects or /invoices/123 maps directly to a corresponding handler. Without routes, an application would have no way of knowing what to do when it receives a request.

Why It Matters

Routes are the traffic system of any web application. They determine what happens when a user clicks a link, submits a form, or when one system calls another. Poorly organised routes lead to confusing URLs, broken pages, and security gaps where users can access things they should not. Well-structured routes make an application predictable, easier to maintain, and more secure. Each route can carry its own access rules, so an admin page is only reachable by administrators, and a client sees only their own data. This is closely related to how endpoints work in APIs, where a specific address maps to a specific data operation. In a single-page application, client-side routing handles these transitions without a full page reload.

Example

A project management platform has routes that control what each URL does. When a client visits “/dashboard,” the route directs them to a page showing their active projects. When they visit “/invoices,” a different route loads their billing history. Behind the scenes, the development team has also defined API routes. When the mobile app requests “/api/projects,” a route directs that request to code that returns project data in a format the app can use.

For more technical terms explained in plain English, see the glossary.

Portrait of Alexander De Sousa, founder of Digital Royalty
Founder-led
“I’ve put everything I know into how this company works — the standards, the method, the care on every project. It runs through the whole team, and I hold us all to it.”

Alexander De Sousa · Founder LinkedIn

Featured on BBC Radio Solent

Get started

Tell us what you need

A few quick questions, then a straight answer from a real person — usually within a few hours.

Tell us what you're working on

Whether it's a new site, a platform, or a process that shouldn't be manual any more — we'll tell you honestly if we can help.