Remodel/packages/web
Manohar Gupta 35cfc409e2
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 input sheet defaults: Lease Rate 0.40, Upfront Fee 0.75%*1.18
- Changed Lease Rate default from 30 to 0.4 Lakh/acre/year
- Changed Upfront Fee default from 1% to 0.75%*1.18 (=0.885%)
- Updated upfront lease cost calculation to use new default
2026-05-22 15:16:02 +05:30
..
app feat: pass solar DC MW and wind capacity from inputs to generation sheet 2026-05-16 15:02:43 +05:30
components Fix input sheet defaults: Lease Rate 0.40, Upfront Fee 0.75%*1.18 2026-05-22 15:16:02 +05:30
lib feat: add profile data columns to generation sheet for detailed breakdown 2026-05-16 13:31:20 +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.