How sunny-subhakar/utility-asset-maintanance-tracker works
Utility Asset Maintenance Tracker is a role-based frontend for asset requests, maintenance work, and team oversight. Visitors can explore the landing page and register or log in; authenticated users work through user, technician, or supervisor dashboards. The README describes analytics, reporting, assignment tracking, maintenance schedules, and admin capabilities, though admin source files are absent from the tree. The sampled sources show dashboard composition and a request submission path; backend behavior and several role-specific interactions are not verified here.
Main entry points: SupervisorDashboard.jsx Supervisor dashboard · LoginPage.jsx Login · TechnicianDashboard.jsx Technician dashboard · UserDashboard.jsx User dashboard
Components 27
Entry and navigation
- Landing page
src/pages/LandingPage.jsx - Registration
src/pages/RegisterPage.jsx - Login
src/pages/LoginPage.jsx - App and auth
src/App.jsx
User asset workflow
- User dashboard
src/components/user/UserDashboard.jsx - Asset request
src/components/user/AssetRequestForm.jsx - Assigned assets
src/components/user/AssetInfo.jsx - Asset history
src/components/user/AssetHistory.jsx
Maintenance operations
- Supervisor dashboard
src/components/supervisor/SupervisorDashboard.jsx - Asset management
src/components/supervisor/AssetManagement.jsx - Work assignment
src/components/supervisor/AssignWork.jsx - Technician management
src/components/supervisor/TechnicianManagement.jsx - Maintenance plans
src/components/supervisor/MaintenancePlan.jsx - Supervisor reports
src/components/supervisor/Reports.jsx - Technician dashboard
src/components/technician/TechnicianDashboard.jsx - Work orders
src/components/technician/WorkOrder.jsx - Work history
src/components/technician/WorkHistory.jsx - Technician reports
src/components/technician/Reports.jsx - Technician profile
src/components/technician/Profile.jsx - Admin tools
Shared services
- API hook
src/components/hooks/useApi.js - API endpoints
src/config/api.js - Modal
src/components/Modal.jsx - Terms content
src/components/TermsContent.jsx - Privacy content
src/components/PrivacyContent.jsx
Other components
- Visitor
- Application API
Connections 24
- Visitor → Landing page: visits
- Visitor → Registration: registers
- Visitor → Login: signs in
- Landing page → App and auth: uses auth
src/pages/LandingPage.jsx - Login → App and auth: calls login
src/pages/LoginPage.jsx - Login → Modal: opens
src/pages/LoginPage.jsx - Login → Terms content: renders
src/pages/LoginPage.jsx - Login → Privacy content: renders
src/pages/LoginPage.jsx - User dashboard → Asset request: offers requests
- User dashboard → Assigned assets: shows assets
- User dashboard → Asset history: shows history
- Asset request → API hook: submits via
src/components/user/AssetRequestForm.jsx - API hook → Application API: sends HTTP
src/components/hooks/useApi.js - Asset request → API endpoints: uses endpoint
src/components/user/AssetRequestForm.jsx - Supervisor dashboard → Asset management: renders
src/components/supervisor/SupervisorDashboard.jsx - Supervisor dashboard → Work assignment: renders
src/components/supervisor/SupervisorDashboard.jsx - Supervisor dashboard → Technician management: renders
src/components/supervisor/SupervisorDashboard.jsx - Supervisor dashboard → Maintenance plans: renders
src/components/supervisor/SupervisorDashboard.jsx - Supervisor dashboard → Supervisor reports: renders
src/components/supervisor/SupervisorDashboard.jsx - Technician dashboard → Work orders: offers tasks
- Technician dashboard → Work history: offers history
- Technician dashboard → Technician reports: offers reports
- Technician dashboard → Technician profile: offers profile
- Admin tools → Application API: administers