由 cry0g3nic 出售

A fully functional TypeScript/React point-of-sale frontend featuring a product grid with category filtering and search, a live cart panel with quantity controls, discount presets, and tax calculation, plus payment method selection (cash, card, mobile). Includes receipt generation, transaction history, a sales dashboard, and product management — all built with React 19, Tailwind CSS v4, and Lucide icons. Licensed under the Tetrees License.
A fully-featured, client-side Point of Sale (POS) system built with React and TypeScript. This frontend-only application provides a complete retail checkout experience including product browsing, cart management, payment processing, discount handling, receipt generation, transaction history, a sales dashboard, and product management — all running in the browser with no backend required.
| Technology | Version | Purpose |
|---|---|---|
| React | ^19.0.0 | UI framework |
| TypeScript | ~5.6.0 | Type safety |
| Vite | ^6.0.0 | Build tool & dev server |
| Tailwind CSS | ^4.2.2 | Utility-first styling |
| Lucide React | ^1.11.0 | Icon library |
src/
├── App.tsx # Root component, state management
├── main.tsx # Entry point
├── types/
│ └── pos.ts # TypeScript types (Product, CartItem, PaymentMethod)
├── data/
│ └── products.ts # Static product catalog and categories
└── components/
├── TopBar.tsx # Navigation bar with search
├── CategoryFilter.tsx # Category tab selector
├── ProductCard.tsx # Individual product tile
├── CartPanel.tsx # Cart sidebar with totals and payment
├── ReceiptModal.tsx # Post-checkout receipt overlay
├── PaymentModal.tsx # Payment confirmation modal
├── Dashboard.tsx # Sales analytics view
├── TransactionHistory.tsx # Past transactions view
└── ProductManagement.tsx # Product catalog management
# Install dependencies
npm install
# Start the dev server
npm run dev
The app will be available at http://localhost:5173 by default.
# Type-check
npm run typecheck
# Production build
npm run build
# Preview production build
npm run preview
# Run linter
npm run lint
# Auto-fix lint issues
npm run lint:fix
// From src/types/pos.ts
type PaymentMethod = "cash" | "card" | "mobile";
interface Product {
id: string;
name: string;
price: number;
category: string;
// ...
}
interface CartItem {
product: Product;
quantity: number;
}
Tetrees License
启动隔离沙箱并在服务器端直接运行 — 无需本地配置。
沙箱验证已完成,检测到的可运行路径已通过。
This React web app completed archive review with strong static results. Structure, dependency manifests, documentation, functional source, and common risk patterns were checked by the Tetrees verification pipeline; runtime phases are stated separately. Final verified scores after isolated runtime evidence: overall 8.3 and security 9.
Deterministic AVCP artifact review
管道 avcp-2026-08-04.1 · SHA-256 0bfaa4d463f3f609…
This version-scoped review deterministically inspects the submitted archive for structure, dependencies, documentation, functional source, and common malicious or high-risk signals. Build and test phases are reported as passed only after an isolated sandbox audition. It is not a guarantee of perfect security.
审查日期 2026年8月7日
完整安装指南与集成提示词将在购买后解锁。
将此产品直接导入你的 AI IDE、网页构建器或云端 IDE。
将 Tetrees 连接到兼容的 AI IDE,列出你拥有的产品并获取已验证 ZIP,同时不会开放卖家上传权限。
暂无评价。
Sign in to join the discussion
Loading discussion…
HTML5, JavaScript & Web Widgets
US$11.83