PC Marketplace
LiveThe same marketplace domain, built twice
Role: Solo developer
Solo · Since Aug 2026 · Public repo
A PC component marketplace (GPU/CPU/RAM stock and orders) implemented twice, independently: a Spanish-language Python console app with an in-memory domain model, and a separate React/TypeScript SPA that reimplements the same domain logic from scratch and persists it to localStorage. The two don't talk to each other. There is no shared backend.
Problem
Wanted to compare the same domain (components with stock, and orders that must reserve stock "all or nothing") across a quick Python console script and a proper TypeScript SPA, without letting one lean on the other.
Solution
Each side owns its own domain model and validation. The Python `Marketplace` class checks accumulated stock across every item before committing an order; the TypeScript port re-derives that same rule independently, with a full UI on top (catalog, order placement, order history with cancellation that returns stock, a stock gauge).