How distinctcodes/assetsup works
AssetsUp is an asset and inventory management platform: users register assets, assign them across organizational units, and track changes through audits and reports. The README describes a Next.js interface backed by a NestJS API and relational database; sampled source confirms selected frontend query, authentication, purchase-order, license, reservation, and transfer paths. Other documented capabilities are represented as domain components, but their internal call relationships are not inferred. The contract suite is shown as a separate product area; its connection to the API is unverified.
Main entry points: src Backend API · auth.service.ts Authentication · lib.rs Asset registry contract · app Management interface
Components 24
Web interface
- Management interface
frontend/app - Asset queries
frontend/lib/query/hooks/useAsset.ts - API client
frontend/lib/api/client.ts
Identity and access
- Backend API
backend/src - Authentication
backend/src/auth/auth.service.ts - Users
backend/src/users/users.service.ts
Asset operations
- Asset lifecycle
backend/src/inventory - Org structure
backend/src/departments - Asset transfers
backend/src/transfers/transfers.service.ts - Reservations
backend/src/reservations/reservations.service.ts - Maintenance
backend/src/maintenance - Software licenses
backend/src/licenses/licenses.service.ts - Purchase orders
backend/src/purchase-orders/purchase-orders.service.ts
Oversight and services
- Audits and history
backend/src/audit-logs/audit-logs.service.ts - Reports and search
backend/src/reports - Expiry alerts
backend/src/alerts/expiry-alerts.service.ts - Notifications
backend/src/notifications/notifications.service.ts
Stellar contracts
- Asset registry contract
contracts/assetsup/src/lib.rs - Maintenance contract
contracts/asset-maintenance/src/lib.rs - Multisig transfers
contracts/multisig-transfer/src/lib.rs - Multisig wallet
contracts/multisig-wallet/src/lib.rs - Contract extensions
contracts/contrib/src/lib.rs
Other components
- Organization user
- Relational database
Connections 22
- Organization user → Management interface: manages assets
README.md - Management interface → Asset queries: queries assets
- Asset queries → API client: calls API
frontend/lib/query/hooks/useAsset.ts - API client → Backend API: sends requests
README.md - Backend API → Authentication: routes auth
backend/src/auth/auth.service.ts - Authentication → Users: reads and updates
backend/src/auth/auth.service.ts - Authentication → Audits and history: logs actions
backend/src/auth/auth.service.ts - Backend API → Asset lifecycle: manages records
- Backend API → Org structure: manages ownership
- Backend API → Asset transfers: routes transfers
backend/src/transfers/transfers.controller.ts - Backend API → Reservations: routes reservations
backend/src/reservations/reservations.controller.ts - Backend API → Maintenance: manages upkeep
- Backend API → Software licenses: routes licenses
backend/src/licenses/licenses.controller.ts - Backend API → Purchase orders: routes orders
backend/src/purchase-orders/purchase-orders.controller.ts - Backend API → Audits and history: supports traceability
backend/src/auth/auth.service.ts - Backend API → Reports and search: generates reports
- Backend API → Expiry alerts: checks expiry
- Backend API → Notifications: sends notifications
- Backend API → Relational database: persists records
README.md - Asset registry contract → Maintenance contract
- Asset registry contract → Multisig transfers
- Multisig wallet → Multisig transfers