- 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 |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| lib | ||
| public | ||
| .gitignore | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| components.json | ||
| Dockerfile | ||
| next.config.ts | ||
| package.json | ||
| pnpm-lock.yaml | ||
| postcss.config.mjs | ||
| README.md | ||
| tsconfig.json | ||
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. DataGridwrapper (AG Grid Community) lives incomponents/DataGrid/— one implementation only.- Server state: TanStack Query. Client-only UI state: Zustand.
- Charts: Recharts only.