TrieOH
InformdFrontend

Frontend

The Informd frontend app and its generated TypeScript API client.

The Informd frontend lives in the TheTree monorepo. Two pieces:

PieceWhereWhat it is
Appfront/informd/TanStack Start app (React Router, React Query, Base UI)
API clientlib/ts/informd/orval-generated client, published as @trieoh/informd-models

Stack

  • TanStack Start — React Router + SSR + React Query; server functions for BFF-ish calls.
  • Base UI + Tailwind; @trieoh/ui-base / @trieoh/front-core for shared UI and conventions.

Generated client

lib/ts/informd/
├── client/
│   ├── endpoints.ts        # typed API functions
│   ├── schemas/            # spec types
│   └── (react-query hooks)
└── package.json            # @trieoh/informd-models
  • The fun.Response envelope is unwrapped for you (orval input transformer + runtime mutator in lib/ts/api-client/src/orval-mutator.ts); failures reject with ApiError (envelope at .envelope).
  • Regenerate after any spec change: pnpm orval — never hand-write endpoint code.

Run it

pnpm --filter @trieoh/informd-models dev   # generated client workspace pkg
pnpm --filter informd dev                  # the app (front/informd)

On this page