41 lines
1.5 KiB
Markdown
41 lines
1.5 KiB
Markdown
# Texas Resellers — Inventory Frontend
|
|
|
|
Client-branded inventory management web app built for Texas Resellers. Single-page
|
|
React application (no backend included in this repo) for tracking inventory items,
|
|
generating/scanning QR labels, and managing per-item detail records.
|
|
|
|
## Tech Stack
|
|
|
|
- React 18 + React Router 6
|
|
- Vite (build tool / dev server)
|
|
- Tailwind CSS (dark theme by default, see `frontend/index.html`)
|
|
- `qrcode.react` + `jsqr` for QR code generation and camera-based scanning
|
|
- `lucide-react` for icons
|
|
|
|
## Key Files / Entry Points
|
|
|
|
- `frontend/index.html` — app shell, mounts React at `#root`
|
|
- `frontend/src/main.jsx` — React entry point
|
|
- `frontend/src/App.jsx` — route definitions
|
|
- `frontend/src/context/DataContext.jsx` — shared app/inventory state
|
|
- `frontend/src/pages/` — screens: `Dashboard`, `Inventory`, `ItemDetail`, `ItemForm`,
|
|
`LabelDesigner` (QR label creation), `Scanner` (camera QR scanning), `Settings`
|
|
- `frontend/src/components/` — shared UI: `Layout`, `Sidebar`, `StatusBadge`, `CategoryBadge`
|
|
|
|
## Running Locally
|
|
|
|
```bash
|
|
cd frontend
|
|
npm install
|
|
npm run dev # Vite dev server
|
|
npm run build # production build
|
|
npm run lint
|
|
```
|
|
|
|
## Status
|
|
|
|
Working frontend prototype. No backend/API or persistence layer is present in this
|
|
repo as of import — `DataContext` appears to hold state client-side. Client-branded
|
|
project (Texas Resellers is a specific MSP client); this is the client's own
|
|
application code, not a copy of client personal/business data.
|