Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 574 Bytes

File metadata and controls

26 lines (16 loc) · 574 Bytes

Encapsulation Workshop — TypeScript

TypeScript workshop project demonstrating object-oriented encapsulation principles through a simple shopping system simulation.

What it does

Simulates a product supply chain: a Manufacturer supplies products to a Shop, which sells them to a Customer. The program prints a financial summary at the end showing capital and balances for each party.

See ARCHITECTURE.md for design decisions

Requirements

  • Node.js 20+

Run

npm install
npm start

Type-check

npm run typecheck