How aryan-2206/asset-management-fullstack works
Asset Management System is a React frontend backed by a Python API, SQLite persistence, and file uploads. Users sign in, enter a shared application shell, and manage assets and related operational records; the app loads and updates collections through shared state and API calls. Dashboard, activity, notifications, settings, user administration, and reports provide supporting capabilities. Frontend call relationships are based on excerpts and the SOURCE INDEX; backend responsibilities and persistence links are documented in the README, since backend.py was not excerpted.
Main entry points: App.jsx App coordinator · AppContext.jsx Shared state · Modal.jsx Dialog component · client.js API client
Components 22
Application shell
- App coordinator
frontend/src/App.jsx - Sign-in
frontend/src/components/AuthScreen.jsx - Navigation shell
frontend/src/components/AppLayout.jsx - Dialog component
frontend/src/components/Modal.jsx
Asset operations
- Asset records
frontend/src/pages/Assets.jsx - Asset loans
frontend/src/pages/Loans.jsx - Maintenance requests
frontend/src/pages/Maintenance.jsx - Procurement requests
frontend/src/pages/Procurement.jsx - Properties
frontend/src/pages/Properties.jsx - Vendors
frontend/src/pages/Vendors.jsx
Insights and administration
- Dashboard
frontend/src/pages/Dashboard.jsx - Activity history
frontend/src/pages/Activity.jsx - Notifications
frontend/src/pages/Notifications.jsx - Reports
frontend/src/pages/Reports.jsx - Settings
frontend/src/pages/Settings.jsx - User administration
frontend/src/pages/Users.jsx
Data services
- Shared state
frontend/src/context/AppContext.jsx - API client
frontend/src/api/client.js - Python backend
backend.py - SQLite database
- Uploaded files
Other components
- User
Connections 44
- User → Sign-in: signs in
frontend/src/components/AuthScreen.jsx - User → Navigation shell: uses
frontend/src/components/AppLayout.jsx - App coordinator → Sign-in: renders
frontend/src/App.jsx - App coordinator → Navigation shell: renders
frontend/src/App.jsx - App coordinator → Shared state: provides state
frontend/src/App.jsx - App coordinator → API client: auth requests
frontend/src/App.jsx - App coordinator → Dashboard: selects page
frontend/src/App.jsx - App coordinator → Asset records: selects page
frontend/src/App.jsx - App coordinator → Asset loans: selects page
frontend/src/App.jsx - App coordinator → Maintenance requests: selects page
frontend/src/App.jsx - App coordinator → Procurement requests: selects page
frontend/src/App.jsx - App coordinator → Properties: selects page
frontend/src/App.jsx - App coordinator → Vendors: selects page
frontend/src/App.jsx - App coordinator → Activity history: selects page
frontend/src/App.jsx - App coordinator → Notifications: selects page
frontend/src/App.jsx - App coordinator → Reports: selects page
frontend/src/App.jsx - App coordinator → Settings: selects page
frontend/src/App.jsx - App coordinator → User administration: selects page
frontend/src/App.jsx - Navigation shell → User: shows account
frontend/src/components/AppLayout.jsx - Shared state → API client: fetches and mutates
frontend/src/context/AppContext.jsx - Asset records → Shared state: reads and updates
frontend/src/pages/Assets.jsx - Asset loans → Shared state: uses collections
frontend/src/pages/Loans.jsx - Maintenance requests → Shared state: reads and updates
frontend/src/pages/Maintenance.jsx - Procurement requests → Shared state: reads and updates
frontend/src/pages/Procurement.jsx - Properties → Shared state: reads and updates
frontend/src/pages/Properties.jsx - Vendors → Shared state: uses collections
frontend/src/pages/Vendors.jsx - Dashboard → Shared state: reads collections
frontend/src/pages/Dashboard.jsx - Activity history → Shared state: reads collections
frontend/src/pages/Activity.jsx - Notifications → Shared state: uses collections
frontend/src/pages/Notifications.jsx - Reports → Shared state: uses collections
frontend/src/pages/Reports.jsx - Settings → Shared state: uses collections
frontend/src/pages/Settings.jsx - User administration → Shared state: uses collections
frontend/src/pages/Users.jsx - Asset records → Dialog component: uses dialog
frontend/src/pages/Assets.jsx - Asset loans → Dialog component: uses dialog
frontend/src/pages/Loans.jsx - Maintenance requests → Dialog component: uses dialog
frontend/src/pages/Maintenance.jsx - Procurement requests → Dialog component: uses dialog
frontend/src/pages/Procurement.jsx - Properties → Dialog component: uses dialog
frontend/src/pages/Properties.jsx - Vendors → Dialog component: uses dialog
frontend/src/pages/Vendors.jsx - User administration → Dialog component: uses dialog
frontend/src/pages/Users.jsx - API client → Python backend: sends API requests
README.md - Python backend → SQLite database: persists records
README.md - Python backend → Uploaded files: handles file uploads
README.md - Properties → API client: uploads images
frontend/src/pages/Properties.jsx - Reports → API client: downloads reports
frontend/src/pages/Reports.jsx