AkurAI Build
Menu

Public repository / dbd1e2529b1a8875ac975415d54ef3e98e046457

AkurAI-Framework / site/backend/routes.json

Latest change 6452dc30cd3f5df3bc6c241143d70f89365547e9 - feat(cli): declarative per-route data loaders by Ólafur Búi Ólafsson

{
  "routes": [
    { "path": "/", "template": "index" },
    {
      "path": "/components",
      "template": "components",
      "title": "Components — AkurAI/Framework",
      "description": "Server-rendered UI components built on the framework's from-scratch template engine and atomic CSS."
    },
    {
      "path": "/realtime",
      "template": "realtime",
      "title": "Realtime (WebSockets & SSE) — AkurAI/Framework",
      "description": "Built-in WebSocket and Server-Sent Events support, implemented in pure std Rust with zero runtime dependencies."
    },
    { "path": "/hello/:name", "template": "hello" },
    {
      "path": "/reactivity",
      "template": "reactivity",
      "title": "Reactivity — AkurAI/Framework",
      "description": "A tiny native-ESM signals and directives runtime — declarative client reactivity with no build step and no dependencies."
    },
    {
      "path": "/welcome",
      "template": "welcome",
      "layout": "marketing",
      "title": "Welcome — AkurAI/Framework",
      "description": "A page composed from a content-only template wrapped in a shared marketing layout shell."
    },
    {
      "path": "/team",
      "template": "team",
      "data": "data/team.json",
      "title": "Team — AkurAI/Framework",
      "description": "A data-driven page with no handler code: the route names a JSON data file that is loaded into the template's render context."
    }
  ]
}