← back to projects

Contract-management platform

A production Next.js platform for a retailer, with PDF, QR and OCR extraction pipelines for scanned contracts.

Outcome: In production and owned by me, including the extraction pipelines that read scanned contracts.

Next.jsTypeScriptOCRQR / PDF extractionDynamics 365Azure Container Apps

Completed August 2026

Scanned contract from the point of sale PDF text layer when the file has one QR decode when it carries a code OCR for everything else One contract record matched and structured Next.js platform find, review, manage Dynamics 365 archive
A scanned contract is read three ways. Whatever each signal finds is merged into one record, managed in the platform and archived in Dynamics 365.

An anonymized case study. The client is a retailer; the name stays private.

Context

Contracts are signed at the point of sale and come back as scans. The platform exists so that finding, checking and archiving a contract does not depend on someone opening PDFs and reading them.

What I built

  • A production Next.js platform for finding, reviewing and managing contracts.
  • Extraction pipelines for scanned contracts: PDF parsing where the file has a text layer, QR decoding where the document carries a code, and OCR for everything else.
  • The current work extends this to the Dynamics 365 side: contracts are matched and archived without anyone retyping them, as part of a digital point-of-sale flow.

Engineering notes

  • Scans are the hard part. The same contract template arrives rotated, cropped, stamped and photographed, so the pipeline combines three signals: the PDF text layer when there is one, a QR code when the document carries one, and OCR for the rest.
  • I own the platform end to end: architecture, implementation, Azure infrastructure and the deployment pipeline.