Skip to main content
CodeLava
Back to work

An offline-first desktop system for pharmacy teams. It combines point of sale, purchasing, inventory, patient records, and accounting in Arabic and English.

Dashboards and internal tools
Breev Pharmacy ERP

Technologies

  • React
  • TypeScript
  • PostgreSQL
  • Drizzle ORM
  • Electron
  • NestJS
01

Chapter 01

Challenge

Sales and stock movements need to stay consistent when a pharmacy loses its internet connection, while dispensers need to track batches and expiry dates.

02

Chapter 02

Solution

A desktop client connects to a local API and database. The team contribution covered sales posting, batch-aware stock, stocktaking, patient records, reporting, and accounting controls.

03

Chapter 03

Results

  • Cash sales and stock movements are posted together, with linked records for returns and reversals.
  • Inventory tools prioritize eligible batches by expiry date and support stock counts in mixed units.