ryan bd3a25aa1c feat: add POS register screen with full-screen touch-optimized layout
Standalone register at /pos bypassing the admin sidebar layout:
- Two-panel layout: product search/grid (60%) + cart/payment (40%)
- Product search with barcode scan support (UPC lookup on Enter)
- Custom item entry dialog for ad-hoc items
- Cart with line items, tax, totals, and remove-item support
- Payment dialogs: cash (quick amounts + change calc), card, check
- Drawer open/close with balance reconciliation and over/short
- Auto-creates pending transaction on first item added
- POS link added to admin sidebar nav (module-gated)
- Zustand store for POS session state, React Query for server data

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 19:29:37 +00:00
2026-04-04 02:31:04 +00:00

LunarFront

Small business management platform — POS, inventory, rentals, scheduling, repairs, and accounting.

Built by Lunarfront Tech LLC.

Tech Stack

  • Runtime: Bun
  • Language: TypeScript (end-to-end)
  • API: Fastify + Drizzle ORM + PostgreSQL 16
  • Frontend: React + TanStack Router + TanStack Query
  • Validation: Zod (shared schemas)
  • Queue/Cache: BullMQ + Valkey 8
  • Monorepo: Turborepo + Bun workspaces

Quick Start

bun install
cp .env.example .env       # configure DATABASE_URL, REDIS_URL, JWT_SECRET
cd packages/backend && bunx drizzle-kit migrate
bun run dev                # starts backend (:8000) + admin UI (:5173)

Packages

Package Description
packages/backend Fastify API server
packages/admin Admin UI (React + Vite)
packages/shared Zod schemas, types, shared utils

Documentation

Doc Description
Setup Prerequisites, environment, installation, running
Architecture Monorepo structure, backend/frontend design, state management
API Reference All endpoints, pagination, auth, permissions
Database Schema overview, migrations, multi-tenancy
Testing Test runner, suites, writing tests, assertions

Commands

bun run dev       # start all packages in dev mode
bun run test      # run all tests
bun run lint      # lint all packages
bun run format    # format with Prettier

License

Proprietary. All rights reserved.

Description
No description provided
Readme 23 MiB
Languages
TypeScript 99.2%
Shell 0.5%
CSS 0.2%