Desktop inventory management app for Purple Stock, built with Tauri 2, React 19, TypeScript, and SQLite.
Runs fully offline on your machine — no login or subscription required. Data is stored locally in SQLite.
- Team selection and local team management
- Items, locations, stock in/out, adjust, move, transactions
- UI aligned with the Purple Stock web app (PT-BR by default)
- Layered architecture: UI → Tauri commands → Rust/SQLite
- Node.js 20+
- Rust (stable) + Cargo
- macOS (primary target; Tauri also supports Windows/Linux)
npm install
npm run tauri:devVite dev server: http://localhost:1420/
| Command | Description |
|---|---|
npm run tauri:dev |
Run desktop app in development |
npm run tauri:build |
Build production .app / .dmg |
npm test |
Vitest + Rust SQLite integration test |
npm run build |
Frontend TypeScript + Vite build |
npm run verify |
Prettier + ESLint + typecheck + tests + build |
npm run format |
Auto-format with Prettier |
npm run lint |
ESLint |
Pre-commit hooks (Husky) run lint-staged, typecheck, and tests.
SQLite database path (macOS):
~/Library/Application Support/com.matheuspuppe.purple-stock-desktop/purple-stock.db
- Purple Stock Web — Next.js inventory app
- Purple Stock Landing — Marketing site
Proprietary — Purple Stock. Contact the organization for usage terms.