How dizonds/ashcolinventoryreactfinal works
Ashcol Inventory is a warehouse inventory and stock-movement application. A user signs in to the client, navigates its dashboard, catalog, adjustment form, or ledger, and the client loads or updates data through the Express API backed by MongoDB. The server records stock adjustments as movements; the dashboard presents inventory and restock indicators, while the ledger supports movement search and filtering. The sampled code supports the client/API and persistence links shown; other unsampled UI interactions are not inferred.
Main entry points: App.js App Shell · index.js Express API · formatters.js Money Formatting · LoginPage.js Sign In
Components 15
Inventory Client
- App Shell
ashcoinventory/src/App.js - Sign In
ashcoinventory/src/components/LoginPage.js - Sidebar Navigation
ashcoinventory/src/components/Sidebar.js - User Header
ashcoinventory/src/components/TopBar.js
Inventory Workspaces
- Dashboard
ashcoinventory/src/components/DashboardPage.js - Inventory Catalog
ashcoinventory/src/components/InventorySection.js - Post Movement
ashcoinventory/src/components/PostMovementPage.js - Movement Ledger
ashcoinventory/src/components/MovementsPage.js - Money Formatting
ashcoinventory/src/utils/formatters.js
Inventory API
- Express API
server/src/index.js
Persistent Data
- Product Records
server/src/index.js - Movement Records
server/src/index.js - Brand Records
server/src/index.js
Other components
- Warehouse User
- MongoDB
Connections 19
- Warehouse User → App Shell: uses
- App Shell → Sign In: shows signed-out
ashcoinventory/src/App.js - Sign In → App Shell: sets user
ashcoinventory/src/App.js - App Shell → Sidebar Navigation: renders
ashcoinventory/src/App.js - App Shell → User Header: renders
ashcoinventory/src/App.js - App Shell → Dashboard: selects page
ashcoinventory/src/App.js - App Shell → Inventory Catalog: selects page
ashcoinventory/src/App.js - App Shell → Post Movement: selects page
ashcoinventory/src/App.js - App Shell → Movement Ledger: selects page
ashcoinventory/src/App.js - Dashboard → Money Formatting: formats values
ashcoinventory/src/components/DashboardPage.js - Inventory Catalog → Money Formatting: formats values
ashcoinventory/src/components/InventorySection.js - Post Movement → Money Formatting: formats values
ashcoinventory/src/components/PostMovementPage.js - App Shell → Express API: requests data
ashcoinventory/src/App.js - Express API → Product Records: reads and writes
server/src/index.js - Express API → Movement Records: reads and writes
server/src/index.js - Express API → Brand Records: reads and writes
server/src/index.js - Product Records → MongoDB: persists in
server/src/index.js - Movement Records → MongoDB: persists in
server/src/index.js - Brand Records → MongoDB: persists in
server/src/index.js