A cross-platform desktop application for store management, built with Electron, React, and TypeScript.
- Cross-platform support (Windows, macOS, Linux)
- Modern React UI with shadcn/ui components
- Internationalization support (English, Chinese)
- Electron Forge for packaging and distribution
- Tailwind CSS for styling
- Redux Toolkit for state management
- Frontend: React 19, TypeScript, Tailwind CSS 4
- Desktop: Electron 41
- UI Components: shadcn/ui
- State Management: Redux Toolkit
- Build Tools: Vite 8, Electron Forge
- Internationalization: i18next
- Node.js 22+
- npm 10+
npm installnpm run devThis will start:
- Renderer development server on
http://127.0.0.1:38659 - TypeScript compiler in watch mode
- Preload script compiler in watch mode
- Electron app
# Build all targets
npm run build:prod
# Build for specific platforms
npm run build:linux
npm run build:win
npm run build:macnpm run typecheck:main
npm run typecheck:preload
npm run typecheck:rendererStore-Master/
├── src/
│ ├── main/ # Electron main process
│ ├── preload/ # Preload scripts
│ ├── renderer/ # React application
│ │ ├── components/ # React components
│ │ │ └── ui/ # shadcn/ui components
│ │ ├── lib/ # Utilities
│ │ ├── locales/ # Internationalization
│ │ └── store/ # Redux store
│ └── shared/ # Shared types and utilities
├── scripts/ # Build and utility scripts
├── resources/ # App resources (icons, etc.)
├── .github/ # GitHub workflows
└── package.json
AGPL-3.0