How eduardobondavalle-arch/mvp-builder works
Adim combines a commercial-operations dashboard with a rental-closing workflow. Users manage commercial records and review funnel, goals, rankings, and channel-conversion reports; the closing workflow tracks cards across stages, supports configuration and detail work, and provides closing reports. Data loads through a repository that uses browser-local storage by default, with a host-platform adapter available for shared persistence. Several route and feature implementations were not sampled, so their internal connections are shown only where the README or indexed references support them.
Main entry points: repository.ts Data Repository · board-provider.tsx Board State · relatorios.tsx Commercial Reports · data.ts Commercial Data API
Components 22
Commercial Operations
- Dashboard
src/routes/_authenticated/dashboard.tsx - Records & Setup
src/routes/_authenticated/cadastros.tsx - New Proposal
src/components/nova-proposta-dialog.tsx - Cycles & Goals
src/routes/_authenticated/ciclos.tsx - Commercial Reports
src/routes/_authenticated/relatorios.tsx - Metrics
src/lib/metrics.ts - PDF Export
src/lib/pdf.ts
Rental Closing
- Closing Board
src/fechamento/components/board/kanban-board.tsx - Board Settings
src/fechamento/components/board/board-settings-panel.tsx - Card Details
src/fechamento/components/card-detail/card-detail-modal.tsx - Closing Reports
src/routes/_authenticated/relatorio-fechamento.tsx - Board State
src/fechamento/components/providers/board-provider.tsx - Workflow Rules
src/fechamento/domain/operations.ts
Shared Data Platform
- Commercial Data API
src/lib/data.ts - Data Repository
src/fechamento/persistence/repository.ts - Browser Storage
src/fechamento/persistence/repository.ts - Host Adapter
src/fechamento/host.ts - Local Commercial Client
src/fechamento/persistence/commercial-client.ts - Supabase Client Facade
src/integrations/supabase/client.ts
Application Shell
- Root Layout
src/routes/__root.tsx - App Shell
src/components/app-shell.tsx
Other components
- Operator
Connections 21
- Operator → Dashboard: reviews operations
README.md - Operator → Records & Setup: manages records
README.md - Root Layout → App Shell: renders routes
src/routes/__root.tsx - New Proposal → Commercial Data API: records proposal
src/components/nova-proposta-dialog.tsx - Commercial Reports → App Shell: uses shell
src/routes/_authenticated/relatorios.tsx - Commercial Reports → Metrics: uses metrics
src/routes/_authenticated/relatorios.tsx - Commercial Reports → PDF Export: exports report
src/routes/_authenticated/relatorios.tsx - Commercial Data API → Data Repository: loads data
src/lib/data.ts - Commercial Data API → Supabase Client Facade: queries records
src/lib/data.ts - Supabase Client Facade → Local Commercial Client: falls back to
src/integrations/supabase/client.ts - Local Commercial Client → Data Repository: reads and writes
src/fechamento/persistence/commercial-client.ts - Board State → Data Repository: loads and mutates
src/fechamento/components/providers/board-provider.tsx - Data Repository → Workflow Rules: executes commands
src/fechamento/persistence/repository.ts - Data Repository → Host Adapter: checks adapter
src/fechamento/persistence/repository.ts - Data Repository → Browser Storage: reads and writes
src/fechamento/persistence/repository.ts - Closing Board → Board State: uses board state
- Board Settings → Board State: uses board state
src/fechamento/components/board/board-settings-panel.tsx - Card Details → Board State: uses board state
src/fechamento/components/card-detail/card-detail-modal.tsx - Card Details → Workflow Rules: uses workflow rules
src/fechamento/components/card-detail/card-detail-modal.tsx - Closing Reports → App Shell: uses shell
src/routes/_authenticated/relatorio-fechamento.tsx - Closing Reports → Board State: reads board state
src/routes/_authenticated/relatorio-fechamento.tsx