Remodel/packages/web
Mannu 71d834e992
Some checks failed
CI / Engine — lint / typecheck / test (push) Has been cancelled
CI / API — lint / typecheck / test (push) Has been cancelled
CI / Web — typecheck / lint / build (push) Has been cancelled
Fix web: use absolute path /app/node_modules/.bin/next
2026-05-13 22:24:26 +05:30
..
app [S1-T12/T13] P&L revenue breakdown + collapsible rows + UI polish 2026-05-13 10:42:36 +05:30
components [S1-T12/T13] P&L revenue breakdown + collapsible rows + UI polish 2026-05-13 10:42:36 +05:30
lib [S1-T12/T13] P&L revenue breakdown + collapsible rows + UI polish 2026-05-13 10:42:36 +05:30
public [S0-T04/T05/T10/T14] packages/web: Next.js, shadcn, TanStack Query, AG Grid; docker-compose; UI pages; openapi-typescript 2026-05-07 02:27:21 +05:30
.gitignore [S0-T04/T05/T10/T14] packages/web: Next.js, shadcn, TanStack Query, AG Grid; docker-compose; UI pages; openapi-typescript 2026-05-07 02:27:21 +05:30
AGENTS.md [S0-T04/T05/T10/T14] packages/web: Next.js, shadcn, TanStack Query, AG Grid; docker-compose; UI pages; openapi-typescript 2026-05-07 02:27:21 +05:30
CLAUDE.md [S0-T04/T05/T10/T14] packages/web: Next.js, shadcn, TanStack Query, AG Grid; docker-compose; UI pages; openapi-typescript 2026-05-07 02:27:21 +05:30
components.json [S0-T04/T05/T10/T14] packages/web: Next.js, shadcn, TanStack Query, AG Grid; docker-compose; UI pages; openapi-typescript 2026-05-07 02:27:21 +05:30
Dockerfile Fix web: use absolute path /app/node_modules/.bin/next 2026-05-13 22:24:26 +05:30
next.config.ts [S0-T04/T05/T10/T14] packages/web: Next.js, shadcn, TanStack Query, AG Grid; docker-compose; UI pages; openapi-typescript 2026-05-07 02:27:21 +05:30
package.json [S1-T12/T13] P&L revenue breakdown + collapsible rows + UI polish 2026-05-13 10:42:36 +05:30
pnpm-lock.yaml [S1-T12/T13] P&L revenue breakdown + collapsible rows + UI polish 2026-05-13 10:42:36 +05:30
postcss.config.mjs [S0-T04/T05/T10/T14] packages/web: Next.js, shadcn, TanStack Query, AG Grid; docker-compose; UI pages; openapi-typescript 2026-05-07 02:27:21 +05:30
README.md [S0-T04/T05/T10/T14] packages/web: Next.js, shadcn, TanStack Query, AG Grid; docker-compose; UI pages; openapi-typescript 2026-05-07 02:27:21 +05:30
tsconfig.json [S0-T04/T05/T10/T14] packages/web: Next.js, shadcn, TanStack Query, AG Grid; docker-compose; UI pages; openapi-typescript 2026-05-07 02:27:21 +05:30

remodel-web

Next.js App Router frontend for REmodel.

Setup

pnpm install

Common commands

pnpm dev            # dev server on :3000
pnpm build          # production build
pnpm lint           # eslint
pnpm type-check     # tsc --noEmit
pnpm generate-types # regenerate API types from OpenAPI (needs API on :8000)

Adding shadcn/ui components

pnpm dlx shadcn@latest add <component-name>

Key conventions

  • All API types live in app/api-types/index.ts (auto-generated). Never hand-write them.
  • DataGrid wrapper (AG Grid Community) lives in components/DataGrid/ — one implementation only.
  • Server state: TanStack Query. Client-only UI state: Zustand.
  • Charts: Recharts only.