Repository structure

Monorepo layout for dashboard + backend.

xroh/
  dashboard/        # Next.js frontend
  backend/          # NestJS API

dashboard/

dashboard/
  app/
    page.tsx
    portfolio/page.tsx
    developer/page.tsx
    status/[exchangeId]/page.tsx
    api/
      chat/route.ts
      prices/
  components/
  lib/api.ts

backend/

backend/
  src/
    main.ts
    app.module.ts
    config/
    common/
    modules/
      providers/     # X1/X2/X3 engine adapters (abstracted)
      quotes/
      routes/
      strategy/
      ai/
      api-keys/
    tokens.controller.ts
  prisma/schema.prisma
circle-info

If the codebase still contains vendor names internally, keep them out of public docs. Expose only X1, X2, X3 at the documentation boundary.

Last updated