liveBook · Manning

File-system based routing

File-system-based routing is a routing approach in which an application's files and directories determine its externally accessible routes and associated handlers or components.

How 2 Manning books explain it

Build Financial Software with Generative AI (From Scratch)

File-based routing is a routing technique in which filesystem paths and files determine application URL routes.

How it is used
Connects dashboard links to file-specific pages through folder-defined URLs.
How deep it goes
Demonstrates folder and link implementation, while deferring broader routing behavior beyond nested routes, layouts, and error handling.
Examples
Uses an app-directory route, a bracketed id folder, UUID-based URLs, and clickable uploaded filenames.
What you can do after
Build it by creating a route folder, adding a page file, and linking records to URLs containing their identifiers.

Read how Build Financial Software with Generative AI (From Scratch) explains file-system based routing →

Build AI-Enhanced Web Apps

A routing approach in which an application's file and folder structure determines its routes and rendered components.

How it is used
Maps Next.js application folders and files to URL routes, rendered pages, dynamic segments, and shared layouts.
How deep it goes
Explains route mapping, dynamic params, project directories, and nested layouts, but does not cover deployment or testing.
Examples
Uses root, blog, and dynamic blog-post paths plus root and nested layout structures.
What you can do after
Build routes by arranging Next.js app folders, page.js files, dynamic segments, and layout.js wrappers.

Read how Build AI-Enhanced Web Apps explains file-system based routing →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.