All work

MPM

A full operating system for a building-materials company

Role
All development, as part of my job

The problem

Quotations, costing, purchasing, contracts and approvals lived across Excel files and messages, and nobody saw the whole picture.

What I built

One internal system for all of it: a dashboard, quotations and cost sheets with an approval flow, a catalogue of thousands of items kept current from the ERP, a pricing assistant built on past quotes, purchasing, contracts, and reports. More than 20 employees use it.

  • The pricing assistant suggests a price for an item from past quotes, weighting the newest, the same client, the same project and won deals more, with a range and a confidence level. It never goes below cost or below the maximum discount allowed, the estimator decides, and the quote then goes through approval.
  • Prices and stock refresh every morning from the ERP, with a backup before each update, rejection of any file that looks wrong, and a monitor that checks it arrived.
  • Purchasing from the request through the purchase order, shipping and the warehouse, plus new-item requests, technical approvals, and in-app notifications.
  • AI reads specifications from item datasheets, and they reach a manager's review before anything is approved.
  • Contracts with clear stages and a conversation inside each one, and professional PDFs with an archive of every issued version.
  • Role-based permissions checked by the server itself, an audit log that cannot be edited, and written, tested Firestore security rules.

Stack

  • React 19
  • TypeScript
  • Vite
  • Firebase
  • Cloud Functions
  • Gemini
  • PWA

Building something new? Let's talk