About Us
Most e-commerce demos stop at "add to cart." Supplymars focuses on what comes after: orders that need to be sourced from multiple suppliers, prices that cascade through category hierarchies, and fulfilment that progresses through independent purchase-order lifecycles.
While you won't find any actual Martian supplies for sale, you will find a fully functional backend that models real operational complexity: multi-source fulfilment, dynamic pricing, margin tracking, and simulation-driven data across thousands of SKUs. The entire catalog (products, descriptions, and imagery) is AI-generated.
Built with over 20 years of hands-on e-commerce experience, from founding and scaling online retailers to leading engineering teams, this project demonstrates how Domain-Driven Design, event-driven architecture, and modern PHP come together to solve real supply-chain problems.
Built on Modern, Reliable Technologies
What Makes This Non-Trivial
The system is organised as a modular monolith with multiple bounded contexts (Catalog, Order, Purchasing, Pricing, Reporting, Customer, Audit, Review) communicating through domain events. Beyond basic CRUD, the interesting engineering problems include:
- Multi-supplier sourcing: evaluating cost and availability across warehouse and dropship suppliers to select the optimal source
- Order quantity splitting: allocating a single order item across multiple suppliers when no single source has enough stock
- Event-driven pricing: three-level markup cascades (product, subcategory, category) with six pretty-price rounding models, recalculated automatically when supplier costs change
- Status derivation: order and item statuses cascade from their child purchase-order items, updating automatically as fulfilment progresses
- Two-layer reporting: daily granular records pre-aggregated into summaries for fast dashboard rendering