- React
- Vite
- Express
- Prisma
- PostgreSQL

Context
Pharmacies need fast sales entry and enough stock detail to track expiration dates, supplier purchases, and customer returns.
Engineering decisions
- Use batch-level stock records
- The inventory workflow records batches and expiry dates. This gives operators a way to inspect expiring stock by batch when making purchasing and stock decisions.
- Preserve a link between returns and inventory
- The published workflow restores returned items to the relevant stock and keeps reason records for adjustments.
- Support the work at the counter
- The sales interface supports lookup by brand, generic name, or barcode and provides printed invoices and receipts. Sales and stock views serve different day-to-day tasks.
What shipped
The published product supports stock, sales, returns, and account workflows. The demo previews show the batch table, sales counter, and printed invoice layout.