Skip to content
engineering workbench.by StudyPort Academy
All glossary terms

GLOSSARY · A WORD, UNPACKED

route

the method, path pattern, and function that answer one request.

A little more detail

A route is the match plus the handler. app.get('/notes/:id', handler) matches GET and a path with one segment, then runs the function. A query string is not part of that pattern. If an earlier middleware already sent a response, the route does not run.

See it in practice

These lessons pair the idea with examples you can change and run.