How manzav95/paintinventory works
This is a paint-inventory operations app with a React Native client and a server-backed API; the README’s NFC description does not reflect the broader capabilities visible in the repository tree. The main workflow is staff using the app to manage inventory, with client services making API requests and server handlers working with persisted data. The graph includes major documented-by-directory product areas, but their internal connections are omitted where sampled source does not establish them.
Main entry points: server.js Inventory API · InventoryListScreen.js Inventory screen · inventoryService.js Inventory service · stainFormulasStore.js Formula store
Components 20
Mobile app
- App shell
App.js - Dashboard
screens/DashboardScreen.js - Inventory screen
screens/InventoryListScreen.js - NFC scanning
services/nfcService.js - API configuration
config.js - Shared UI controls
components/ui/AppButton.js
Inventory operations
- Inventory service
services/inventoryService.js
Business workflows
- Order management
services/orderService.js - Material usage
services/materialUsageService.js - Reporting
services/reportService.js - Stain formulas
server/stainFormulaRoutes.js - Safety documents
server/itemDocRoutes.js - Job lookup
server/jobLookup.js - Operations overview
server/overviewRoutes.js - User messages
server/userMessageRoutes.js - Waste tracking
services/wasteTrackingService.js
Server and data
- Inventory API
server/server.js - Server database
server/database.js - Formula store
server/stainFormulasStore.js
Other components
- Staff user
Connections 17
- Staff user → App shell: uses
README.md - App shell → Dashboard: renders
App.js - Staff user → Inventory screen: manages stock
README.md - Inventory screen → Inventory service: uses
screens/InventoryListScreen.js - Inventory service → API configuration: reads URL
services/inventoryService.js - Order management → API configuration: reads URL
services/orderService.js - Inventory service → Inventory API: requests API
- Inventory API → Server database: uses
server/server.js - Inventory API → Stain formulas: mounts routes
server/server.js - Inventory API → Safety documents: mounts routes
server/server.js - Inventory API → Operations overview: mounts routes
server/server.js - Inventory API → User messages: mounts routes
server/server.js - Stain formulas → Formula store: calls
server/stainFormulaRoutes.js - Safety documents → Formula store: uses
server/itemDocRoutes.js - Operations overview → Formula store: uses
server/overviewRoutes.js - Inventory screen → Shared UI controls: uses
screens/InventoryListScreen.js - Staff user → NFC scanning: scans tags
README.md