by 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
Spin up an isolated sandbox and run it server-side — no local setup.
The sandbox audition completed and the detected runnable path passed.
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
Pipeline 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.
Reviewed Aug 7, 2026
The full install guide and integration prompts unlock after purchase.
Push this product straight into your AI IDE, web builder or cloud IDE.
Connect Tetrees to a compatible AI IDE, list products you own, and request the verified ZIP without exposing seller upload controls.
No reviews yet.
Sign in to join the discussion
Loading discussion…
HTML5, JavaScript & Web Widgets
$11.83