Working Prototype2025
StitchPrice
A transparent pricing engine for custom embroidery shops.
Summary
Full-stack pricing engine that turns stitch-count, color complexity, quantity, and urgency into transparent, profitable quotes — backed by a disciplined domain model with zero external dependencies.
Problem
Custom embroidery shops quote inconsistently — pricing drifts between staff, undercuts margins, and is impossible to audit. The domain has real rules (stitch counts, digitizing fees, bulk thresholds) that deserve a real engine, not a spreadsheet.
Approach
- 01Modelled the pricing domain with zero external dependencies — pure C#, fully unit-tested.
- 02Layered the solution with Clean Architecture: Domain → Application (CQRS handlers) → Infrastructure → API.
- 03Configurable rules: per-1k-stitch rate, per-color overhead, digitizing & setup fees, quantity discount thresholds, urgency multipliers.
- 04React + TypeScript frontend consumes the API; full quote breakdown is returned for transparency.
- 05Containerised with Docker Compose for one-command local startup.
Highlights
- .NET 9 Clean Architecture reference
- CQRS + MediatR command/query split
- Pure-domain pricing engine, fully unit-tested
- Configurable business rules
- React + TypeScript frontend
Stack
.NET 9Clean ArchitectureCQRS / MediatRDomain-Driven DesignxUnitReactTypeScriptDocker Compose