MyPoS
A browser-based counter POS with the business behind it.
Personal product — product direction and engineering led by Ans Khan.
Laravel · Vue 3 · TypeScript · MySQL · IndexedDB
Purpose and my role
MyPoS combines the till and back office in one web application. Merchant owners, managers and cashiers share authoritative business records, with scoped access and durable offline cash selling.
I lead the requirements, workflow design and implementation, using AI tools to support exploration and iteration while retaining responsibility for architecture, review and verification.
Operational workflows
Checkout and customer operations
Barcode and weighted goods, variants, bundles/extras, promotions, suspended carts, split tenders, cash change, partial/full returns and atomic exchanges; merchant-wide loyalty and a limited public member portal.
Stock and purchasing
Inventory ledgers, batches/expiry, transfers and stocktakes, purchase orders, partial receiving, valuation, purchase returns, supplier balances, payments and allocation history.
Cash and workforce
Register sessions, floats, blind counts, closeouts and variance; expenses and settlements; attendance, rota, leave, operational payroll and payout evidence.
Reporting and administration
77 fixed report definitions across sales, products/customers, cash/financial, stock, purchasing, workforce/loyalty and audit; saved filters, source drill-downs, secure exports, merchant/store/register setup and integration settings.
Architecture and data integrity
Laravel domain actions own atomic sale, stock, valuation, cash and receipt effects. Decimal arithmetic, immutable records, scoped authorization, command idempotency and concurrency controls protect business truth. IndexedDB stores bounded offline cash commands and evidence; reconciliation preserves retry/conflict states. Reporting uses indexed facts, reproducible projections, incremental refresh and consistent read snapshots.
Interface design
The Vue interface has complete light and dark themes, a dedicated checkout workspace, a compact module rail with contextual navigation, shared searchable controls and accessible keyboard behavior. Theme changes preserve active carts and forms. Reports combine readable filters, real totals, source drill-downs and explicit empty/error states; management layouts adapt to narrow screens.
Exports and integrations
Reports export the complete authorized selection to CSV, streaming XLSX and server-generated PDF. Permissions are rechecked at request, execution and download. Merchant-controlled notification/integration settings use encrypted credentials; Stripe configuration is not represented as payment acquisition, and fiscal adapter work is distinguished from production certification.
Verification and measured evidence
Retained 17 October 2026 local MySQL evidence uses one million synthetic sale lines and 20 samples per selected report with the report-result cache cleared each time. Recorded p95: product 0.917s, receipts 1.519s, tax 0.720s, stock 0.825s and annual product summary 0.908s. A separate 100,000-line diverse fixture reconciled reports and exercised five simultaneous users. Timings exclude network transport and do not establish sustained production capacity.
Release status
Implemented with documented local backend/frontend/browser acceptance. The reporting follow-up records 83 SQLite tests / 1,812 assertions and 24 tests / 891 assertions on each of MariaDB and MySQL at its checkpoint. Live merchant rollout, physical printer/drawer qualification, real provider activation and fiscal production approval remain separate gates.