Building a Medusa Storefront in Next.js: Architecture and Patterns
Server components, caching, cart state and the rendering decisions that determine whether your storefront is fast. The architecture we use on every Medusa build.
Server components, caching, cart state and the rendering decisions that determine whether your storefront is fast. The architecture we use on every Medusa build.
The decision framework, the sequence, the costs and the failure modes. A platform-agnostic guide to moving an existing store onto Medusa without breaking revenue.
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.
The install that works, the prerequisites people miss, and what to do in the first hour after the seed data loads.
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.