Skip to content
/ core Public

Core domain logic for the posOpen platform. This repository defines the business rules, invariants, and data models that make a POS a POS. No UI. No storage assumptions. No network assumptions. If this repo breaks, everything else deserves to stop.

License

Notifications You must be signed in to change notification settings

posopen/core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

posopen-core

The domain engine of the posOpen platform.

This repository contains the pure business logic for point-of-sale operations: products, pricing, transactions, inventory, tax, and receipts.

It is intentionally boring.

What Lives Here

  • Product & pricing models
  • Sales transactions
  • Tax / VAT calculation (region-aware)
  • Inventory adjustments
  • Refunds and voids
  • Receipt data structures (not rendering)

What Does NOT Live Here

  • UI code
  • Database code
  • HTTP APIs
  • Payment provider logic
  • Framework-specific glue

Design Principles

  • Deterministic behavior
  • Side-effect free where possible
  • Explicit state transitions
  • Testability over cleverness

Consumers

This package is consumed by:

  • posopen-api
  • posopen-sync
  • Client applications via adapters

Stability Contract

Breaking changes here are major version events.

If in doubt: make it smaller.

About

Core domain logic for the posOpen platform. This repository defines the business rules, invariants, and data models that make a POS a POS. No UI. No storage assumptions. No network assumptions. If this repo breaks, everything else deserves to stop.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published