How tjnutricost/nc-inventory-tracker works
Nutricost IT Assets is a mobile-first asset inventory and employee self-service app. Employees or IT sign in, find or scan equipment, then check it out, return it, or request equipment/returns; IT also manages assets, people, licenses, catalog entries, and operational dashboards. The Express server owns API workflows and coordinates assignment, request, catalog, persistence, and email behavior. The browser client provides the responsive interface and scanning experience. Source excerpts do not show all route-to-module calls, so undocumented links are omitted.
Main entry points: server.js HTTP API · app.js App interface · mailer.js Email notifications · db.js SQLite inventory
Components 17
Web client
- App interface
public/app.js - Barcode scanning
public/app.js
Application server
- HTTP API
src/server.js - People and access
src/server.js - Dashboard and activity
src/server.js - Asset management
src/server.js
Inventory workflows
- Checkout and check-in
src/assignments.js - Equipment and returns
src/requests.js - Equipment catalog
src/catalog.js - Serial matching
src/serial.js
Data and messaging
- SQLite inventory
src/db.js - Schema migrations
src/migrations.js - Migration runner
src/migrate.js - Email notifications
src/mailer.js
Other components
- Employee
- IT admin
- SMTP service
Connections 17
- Employee → App interface: uses
README.md - IT admin → App interface: uses
README.md - App interface → HTTP API: calls API
- App interface → Barcode scanning: starts scan
README.md - HTTP API → People and access: routes
src/server.js - HTTP API → Asset management: routes
src/server.js - HTTP API → Dashboard and activity: routes
src/server.js - HTTP API → Checkout and check-in: delegates
src/server.js - HTTP API → Equipment and returns: delegates
src/server.js - HTTP API → Equipment catalog: delegates
src/server.js - HTTP API → Serial matching: uses
src/server.js - HTTP API → SQLite inventory: reads/writes
src/db.js - SQLite inventory → Migration runner: runs
src/db.js - Migration runner → Schema migrations: applies
src/db.js - HTTP API → Email notifications: notifies
src/server.js - Email notifications → SQLite inventory: logs outbox
src/mailer.js - Email notifications → SMTP service: sends mail