Medusa vs Vendure: Two TypeScript Commerce Frameworks Compared
Both are TypeScript, both are self-hosted, both are good. The differences are in the extension model, the API style, and how much structure you want imposed.
Articles tagged Architecture — hands-on notes from the commerce builds we ship.
Both are TypeScript, both are self-hosted, both are good. The differences are in the extension model, the API style, and how much structure you want imposed.
The provider interface method by method, a working implementation, and the idempotency and webhook details that separate a demo from something you can take money with.
Two credible open-source commerce platforms with opposite technical bets. Which one fits depends far more on your team than on the feature lists.
Medusa loads code by convention. A directory-by-directory guide to what goes where, and the decision tree for placing any new piece of logic.
How Medusa's payment abstraction works, why running two providers is easier than you think, and the authorise-versus-capture decision that determines your refund story.
How Medusa's event bus works, when a subscriber is the right tool instead of a workflow step, and the retry semantics you need to design around.
The SDK is thin on purpose. What it handles, how authentication differs between store and admin, and why the fields parameter is the difference between a fast storefront and a slow one.
Everything in Medusa is resolved from a container. What is registered, how scoping works per request, and how to avoid the two mistakes that cause leaks.
Modules cannot reference each other's tables, so how do you attach a brand to a product? Links — and the query layer that reads across them.
Workflows are how Medusa keeps multi-step commerce operations from leaving your data half-written. How steps and compensation work, and how to build one properly.
Modules are the unit of everything in Medusa v2. What they are, why isolation matters, and how to build one that will not embarrass you in a year.
Medusa is a TypeScript commerce framework you run yourself. Here is what that actually means, who it suits, who it does not, and how it differs from every hosted platform you have used.