How sterboub111-png/asset-value works
Usool is a local fixed-asset register. Users work through a browser UI that calls a loopback Python API; backend services apply asset, custody, maintenance, and accounting rules and persist application data in SQLite. The documented accounting workflow includes proposing depreciation, reviewing it, and posting periods in sequence; disposal and reporting are additional capabilities. The TypeScript and static JavaScript trees contain corresponding frontend code. Some backend routes and services were not sampled, so their internal call relationships are left out rather than inferred.
Main entry points: routes Feature API routes · routes.ts Page routing · server.py HTTP server · api.ts API client
Components 25
Browser application
- Page routing
web/src/shell/routes.ts - API client
web/src/core/api.ts - UI kit
web/src/ui/index.ts - Asset pages
web/src/shell/routes.ts - Custody pages
web/src/pages/contacts/custody.ts - Employee pages
web/src/pages/contacts/employees.ts - Accounting pages
web/src/pages/depreciation/depreciation.ts - Report pages
web/src/pages/reports/reports.ts
API and security
- HTTP server
app/server.py - Route table
app/api/router.py - Authentication and permissions
app/auth.py - Feature API routes
app/api/routes - SQLite database
app/db.py
Asset operations
- Asset register and transfers
app/services/assets.py - Asset custody
app/services/custody.py - Maintenance orders
app/services/maintenance.py
Accounting and insights
- Depreciation and periods
app/services/depreciation.py - Asset disposal
app/services/disposal.py - Reports
app/reports.py - Journal and audit inquiries
app/services/inquiries.py
Contacts and administration
- Employees and suppliers
app/services/employees.py - Settings and master data
app/services/settings.py - Backup management
app/services/backup.py
Other components
- Local user
- Web browser
Connections 30
- Local user → Web browser: uses
README.md - Web browser → Page routing: opens pages
- Page routing → Asset pages: routes to
web/src/shell/routes.ts - Page routing → Custody pages: routes to
web/src/shell/routes.ts - Page routing → Employee pages: routes to
web/src/shell/routes.ts - Page routing → Accounting pages: routes to
web/src/shell/routes.ts - Page routing → Report pages: routes to
web/src/shell/routes.ts - Asset pages → UI kit: uses
- Custody pages → API client: calls
web/src/pages/contacts/custody.ts - Employee pages → API client: calls
web/src/pages/contacts/employees.ts - Accounting pages → API client: calls
web/src/pages/depreciation/depreciation.ts - Report pages → API client: calls
web/src/pages/reports/reports.ts - API client → HTTP server: sends HTTP requests
web/src/core/api.ts - HTTP server → Route table: dispatches requests
app/server.py - HTTP server → Authentication and permissions: checks sessions
app/server.py - HTTP server → SQLite database: opens database
app/server.py - HTTP server → Feature API routes: loads routes
app/server.py - Feature API routes → Asset register and transfers: uses services
app/api/routes/assets.py - Asset register and transfers → SQLite database: reads and writes
app/services/assets.py - Depreciation and periods → Asset register and transfers: reads asset data
app/services/depreciation.py - Maintenance orders → SQLite database: reads and writes
app/services/maintenance.py - Feature API routes → Asset custody: dispatches to
- Feature API routes → Maintenance orders: dispatches to
- Feature API routes → Depreciation and periods: dispatches to
- Feature API routes → Asset disposal: dispatches to
- Feature API routes → Reports: dispatches to
- Feature API routes → Journal and audit inquiries: dispatches to
- Feature API routes → Employees and suppliers: dispatches to
- Feature API routes → Settings and master data: dispatches to
- Feature API routes → Backup management: dispatches to