bởi 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
Khởi chạy sandbox cách ly và chạy phía máy chủ — không cần cài đặt cục bộ.
Lần kiểm định sandbox đã hoàn tất và đường chạy được phát hiện đã đạt yêu cầu.
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
Quy trình 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.
Đã đánh giá 7 thg 8, 2026
Hướng dẫn cài đặt đầy đủ và prompt tích hợp sẽ mở khóa sau khi mua.
Đưa sản phẩm này thẳng vào AI IDE, trình tạo web hoặc cloud IDE của bạn.
Kết nối Tetrees với AI IDE tương thích để liệt kê sản phẩm bạn sở hữu và nhận ZIP đã xác minh mà không cấp quyền tải lên của người bán.
Chưa có đánh giá.
Sign in to join the discussion
Loading discussion…
HTML5, JavaScript & Web Widgets
11,83 US$