Components structure in '/apps/[appName]' route in open source ACI.dev platform.
In this article, we are going to review components structure in /apps/GITHUB route in ACI.dev platform. We will look at:
Locating the /apps/GITHUB route
apps/GITHUB folder
Components structure in apps/GITHUB/page.tsx
This /apps/GITHUB route loads a page that looks like below:
ACI.dev is the open source platform that connects your AI agents to 600+ tool integrations with multi-tenant auth, granular permissions, and access through direct function calling or a unified MCP server.
ACI.dev is built using Next.js, I usually confirm this by looking for next.config.ts at the root of the frontend folder.
And there is a src folder and app folder inside this src folder. This means this project is built using app router.
From here on, it makes it super easy to locate /apps/GITHUB route since this is going to be a folder, according to how app router works in Next.js
You will find the apps/[appName] folder in the above image. [appName] here indicates that this is dynamic route. There won’t be any GITHUB folder, instead this is a param accessible in apps/[appName]/page.tsx
This means the sidebar and the header are defined in layout.tsx somewhere.
Tooltip, Button, Separator and Button are imported from components/ui, these are Shadcn/ui components.
import { Separator } from "@/components/ui/separator";import { Button } from "@/components/ui/button";
ConfigureAppPop is imported as shown below:
import { ConfigureAppPopup } from "@/components/apps/configure-app-popup";
Again, you will find this inside components/apps folder since we are reviewing components inside /apps route, they have logically placed them inside apps folder.