Remodel/packages/web
Manohar Gupta 4450eeb24f
Some checks are pending
CI / Engine — lint / typecheck / test (push) Waiting to run
CI / API — lint / typecheck / test (push) Waiting to run
CI / Web — typecheck / lint / build (push) Waiting to run
Fix: Remove duplicate financing cost in Project Cost Breakdown table
The financing cost (IDC + upfront fees) was being displayed both as a separate
line item AND included in the total calculation, causing the Total Project Cost
to be inflated by the financing amount. This fix removes the separate financing
row from the breakdown table while keeping the correct total calculation.
2026-05-28 15:17:27 +05:30
..
app Add CUF profile viewer with upload capability 2026-05-23 17:22:31 +05:30
components Fix: Remove duplicate financing cost in Project Cost Breakdown table 2026-05-28 15:17:27 +05:30
lib Add CUF profile viewer with upload capability 2026-05-23 17:22:31 +05:30
public Add renewable energy favicon with sun and leaf 2026-05-15 08:50:22 +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: pass NEXT_PUBLIC_API_URL as Docker build ARG so Next.js bakes it into bundle 2026-05-15 05:15:25 +00:00
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.