Akan uses file-based routing. You create files under page/, and the folder structure becomes the page URL. Most pages also get a language parameter automatically, so the same file can serve localized URLs.
How files become routes
Page file
page/(user)/project/[projectId]/_index.tsx
/:lang/project/:projectId
The index file becomes the route endpoint.
Layout file
page/(user)/project/[projectId]/_layout.tsx
wraps child pages
The layout wraps pages below the same folder.
Route group
(user)
not in URL
Parentheses organize files without adding a URL segment.
File-based: Folders and files decide the URL shape.
Locale-aware: Akan injects [lang] automatically.
Explicit files: Use page and layout files instead of hidden magic.