Routing: Introduction | Next.js

Next.js has a built-in, opinionated, and file-system based Router. You can learn how it works here.

Actions
Connections