Remodel/packages/web
Manohar Gupta 3c98aa3c80
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: show all cost line items in Project Cost Breakdown
- Show all items even when value is 0 (DSRA, EPC overheads, etc.)
- Always show Solar Module, Solar BoS, Solar Land Cost
- Wind items only show if windEnabled
- BESS items only show if bessEnabled
2026-05-29 18:25:32 +05:30
..
app Add CUF profile viewer with upload capability 2026-05-23 17:22:31 +05:30
components fix: show all cost line items in Project Cost Breakdown 2026-05-29 18:25:32 +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.