Data model and traceable states
The MVP separates a device’s master data from its current location, processing state, responsible department and assigned person. Changes are not stored only on the current record; they are also appended to a chronological history so the previous state remains traceable.
- Inventory number as the unambiguous search and assignment key
- Separate fields for location, state, department and assignment
- Chronological history instead of context-free overwrites
REST API and transaction-safe updates
The React interface communicates with an Express REST API through Axios. Multi-part changes such as a state transition, department transfer, assignment and history entry are treated as one operation in MariaDB. If one part fails, a rollback restores the operation so current state and history cannot diverge.
MVP test strategy
Test planning focuses on the domain transitions with the highest risk: unambiguous device search, state and department changes, staff assignment, invalid or incomplete requests and rollback of an interrupted operation. It also checks that the history entry matches the device state that was actually stored.
Public scope and privacy
This case study describes only the completed MVP and publishes no client name, production data or internal security details. The interactive view on this page is a local simulation with fictional device data. It demonstrates the workflow but is not connected to a production database.