Skip to content

Repository files navigation

Purple Stock Desktop

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.

Features

  • 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

Requirements

  • Node.js 20+
  • Rust (stable) + Cargo
  • macOS (primary target; Tauri also supports Windows/Linux)

Development

npm install
npm run tauri:dev

Vite dev server: http://localhost:1420/

Scripts

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.

Data storage

SQLite database path (macOS):

~/Library/Application Support/com.matheuspuppe.purple-stock-desktop/purple-stock.db

Related projects

License

Proprietary — Purple Stock. Contact the organization for usage terms.

About

Purple Stock desktop inventory app — Tauri 2, React, SQLite (offline, no login)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages