UI dashboard for the Osmedeus Workflow Engine, built with Next.js App Router, Tailwind CSS v4, and Shadcn UI.
For a codebase architecture overview, see AGENTS.md.
![]() |
![]() |
![]() |
- App Router route groups:
app/(auth)/(login)app/(dashboard)/(authenticated dashboard routes)
- Mock authentication (client-side session in
localStorageunderosmedeus_session) - Mock API layer (
lib/api/*) backed by in-memory data inlib/mock/data/* - Workflow editor (
/workflows/[id]) that parses YAML and renders a graph using@xyflow/react
- Next.js (
next) + React - Tailwind CSS v4 (
tailwindcss) with CSS variables inapp/globals.css - Shadcn UI (configured in
components.json) - Theme switching via
next-themes - Workflow editor:
@xyflow/react+js-yaml+dagre - Toasts:
sonner
Install deps:
bun installRun dev server (Turbopack):
bun devBuild and start:
bun run build
bun run startLint:
bun run lintAuth is mocked in providers/auth-provider.tsx:
- Session stored in
localStorageunderosmedeus_session. - Accepts:
admin/admin- any username with a password length of 4+ characters
API modules live in lib/api/* and currently return mock data from lib/mock/data/*.
- Base URL is configured via
NEXT_PUBLIC_API_URL(fallbackhttp://localhost:8080/api) inlib/api/client.ts. - To integrate real APIs, replace the mock implementations in
lib/api/*.ts.
No test framework is configured (there is no test script in package.json).
Shadcn primitives are under components/ui/. The repo guidance is to add/update primitives via the Shadcn CLI:
bunx shadcn@latest add <component>

