Review before persistence
AI extraction returns structured suggestions for user review. It does not publish inventory or replace deterministic validation.
Backend / B2B marketplace / 2026
A B2B marketplace MVP connecting suppliers of unsold packaged bakery inventory in Pakistan with business buyers before products expire.
My role
Full-stack development · Backend & AI integration
The Problem
Suppliers of unsold packaged bakery products need to find business buyers before stock expires. Buyers need enough information about quantity, location, price, and shelf life to decide whether surplus stock fits their needs.
The Solution
SurplusLink AI connects listings and buyer requirements through explicit matching rules. Suppliers can review AI-assisted listing extraction, buyers can make offers, and stock reservations support the collection workflow. Checkout remains simulated in this MVP.
01 / Contribution
Built listing and buyer workflows, integrated reviewable AI extraction, and implemented matching, stock reservations, and simulated transaction reporting.
02 / Capabilities
03 / Architecture
Responsibility map · Read alongside the implementation status above.
04 / Decisions
AI extraction returns structured suggestions for user review. It does not publish inventory or replace deterministic validation.
Inventory reservation and offer acceptance are handled together, using PostgreSQL transactions and row locks to address competing requests.
Matching uses explicit marketplace criteria. LLM extraction supports data entry rather than deciding whether an offer is valid.
05 / Validation
The backend repository documents an end-to-end simulated demonstration and tests for permissions, extraction failures, reservation races, payment retries, cancellation, and collection. Those repository tests have not been rerun as part of this portfolio work.
06 / References
API contracts, transaction rules, demo limitations, and documented verification.
Next project