Relational commerce model
PostgreSQL and Drizzle keep product, supplier, role and order states traceable and queryable.
CASE STUDY / 001 / Deployed · Commercial rollout in progress
Trade infrastructure built around real product, supplier and business workflows.
01 / CONTEXT
International sourcing often fragments supplier research, product discovery, quotations and business onboarding across disconnected tools.
02 / RESPONSE
Built a full-stack marketplace supporting verified-email buyer and supplier accounts, business onboarding, moderated product listings, RFQs, quotations, stock reservations and trade discovery. Public source references and demonstration products are always distinguished from approved seller stock.
03 / VERIFIED SCOPE
Public directory research; not verified marketplace sellers.
Source directory coverage, not active markets.
Public product/range references, not live inventory.
Synthetic records in an isolated catalogue-query benchmark.
04 / ARCHITECTURE
Next.js / React with responsive marketplace search, listings, dashboards and checkout journeys.
Clerk verified-email authentication and persistent role-based business onboarding.
Server-side handlers with Zod validation and scoped authorization for supplier and buyer actions.
Neon PostgreSQL and Drizzle ORM for offers, inventory, orders, business profiles and quotation state.
Sourced company references and demonstrative variants are separated from genuine approved offers.
RFQ/quotation comparison, server-calculated orders and inventory reservations; live payment release remains gated.
05 / INTERACTIVE WALKTHROUGH
Explore each stage. This walkthrough explains the implemented or designed workflow; it does not issue real transactions.
Browse 2,873 sourced companies across 69 regions and 7,894 published range references. These are research entries, not onboarded sellers.
06 / TECHNICAL DECISIONS
PostgreSQL and Drizzle keep product, supplier, role and order states traceable and queryable.
Research leads, 600 demo variants and approved stock use distinct labels to prevent misleading buyers.
Verified identity, server-side role checks, validation and approval states protect sensitive transactions.
A query-service benchmark used 100,000 synthetic staging rows; it is not production throughput evidence.
07 / WHAT COMES NEXT
Serious engineering means being clear about tradeoffs, validation still needed and boundaries between a demo and production.