How phamtanhao2505/24ct1_pham_tan_hao works
This is a client-side room-rental management app. A property manager opens the dashboard, then navigates to manage rooms, tenants, rental contracts, or income and expenses. The pages provide forms, lists, filters, and summary calculations using component-local sample data and React state; the supplied source shows no backend or persistent store. The graph captures the route structure and dashboard shortcuts; it does not imply that the separate management pages share or update data.
Main entry points: App.jsx Route table · Layout.jsx Navigation layout · TrangChu.jsx Dashboard · PhongTro.jsx Room management
Components 9
App shell
- React entry
quan-ly-phong-tro/src/main.jsx - Route table
quan-ly-phong-tro/src/App.jsx - Navigation layout
quan-ly-phong-tro/src/components/Layout.jsx
Rental operations
- Room management
quan-ly-phong-tro/src/pages/PhongTro.jsx - Tenant management
quan-ly-phong-tro/src/pages/KhachThue.jsx - Rental contracts
quan-ly-phong-tro/src/pages/HopDong.jsx
Dashboard and finance
- Dashboard
quan-ly-phong-tro/src/pages/TrangChu.jsx - Income and expenses
quan-ly-phong-tro/src/pages/ThuChi.jsx
Other components
- Property manager
Connections 17
- Property manager → React entry: opens app
- React entry → Route table: renders
quan-ly-phong-tro/src/main.jsx - Route table → Navigation layout: routes through
quan-ly-phong-tro/src/App.jsx - Route table → Dashboard: routes to
quan-ly-phong-tro/src/App.jsx - Route table → Room management: routes to
quan-ly-phong-tro/src/App.jsx - Route table → Tenant management: routes to
quan-ly-phong-tro/src/App.jsx - Route table → Rental contracts: routes to
quan-ly-phong-tro/src/App.jsx - Route table → Income and expenses: routes to
quan-ly-phong-tro/src/App.jsx - Navigation layout → Dashboard: navigates to
quan-ly-phong-tro/src/components/Layout.jsx - Navigation layout → Room management: navigates to
quan-ly-phong-tro/src/components/Layout.jsx - Navigation layout → Tenant management: navigates to
quan-ly-phong-tro/src/components/Layout.jsx - Navigation layout → Rental contracts: navigates to
quan-ly-phong-tro/src/components/Layout.jsx - Navigation layout → Income and expenses: navigates to
quan-ly-phong-tro/src/components/Layout.jsx - Dashboard → Room management: shortcut navigates
quan-ly-phong-tro/src/pages/TrangChu.jsx - Dashboard → Tenant management: shortcut navigates
quan-ly-phong-tro/src/pages/TrangChu.jsx - Dashboard → Rental contracts: shortcut navigates
quan-ly-phong-tro/src/pages/TrangChu.jsx - Dashboard → Income and expenses: shortcut navigates
quan-ly-phong-tro/src/pages/TrangChu.jsx