Routing
Function routing shares the same syntax as page routing.
Both top-level and nested routes are supported.
src/api/top-level.js=>/api/top-levelsrc/api/directory/foo.js=>/api/directory/foo
index.js files are routed at their directory path e.g. src/api/users/index.js => /api/users