What it is
Medusa is an open-source e-commerce framework built with Node.js and TypeScript that enables developers to construct custom commerce applications without rebuilding core commerce logic. It provides modular, pluggable backend services for products, orders, inventory, payments, and customer management, all exposed via REST and GraphQL APIs. Medusa lives in the JavaScript/Node.js ecosystem and targets developers who need full control over their storefronts and business logic while relying on battle-tested, open-source primitives.
Medusa solves the inflexibility and vendor lock-in of hosted platforms like Shopify by offering a composable architecture. Developers can swap in their own frontend (React, Next.js, or any framework), integrate with custom fulfillment or payment providers, and extend functionality via plugins—without being constrained by proprietary tooling or limited customization layers.
Key capabilities
- Modular backend architecture with decoupled commerce primitives (products, orders, inventory, customers, payments, regions, shipping, taxes)
- REST and GraphQL APIs for storefront and admin integrations
- Built-in support for multi-store, multi-region, and multi-currency setups
- Admin UI built with React and TypeScript, fully customizable or replaceable
- Plugin system for extending functionality (e.g., payment gateways, fulfillment providers, analytics)
- Open-core licensing: core modules under MIT, enterprise features (RBAC, audit logs, SSO) under commercial license
- Medusa Cloud for managed deployments with automated scaling and maintenance
Who uses it and how
- DTC brands building custom storefronts with headless CMS or framework integrations (e.g., Next.js, Sanity)
- B2B platforms requiring complex pricing, catalogs, and approval workflows
- Marketplace or distributor systems needing isolated vendor accounts and commission logic
- PoS and service-based businesses integrating commerce into internal tools or mobile apps
- Agencies building white-label commerce solutions for clients with consistent backend infrastructure
Getting started
Deploy via Medusa Cloud at cloud.medusajs.com for managed hosting, or install locally using npm create medusa-app@latest and follow the official documentation at docs.medusajs.com/learn. Docker images and CLI tooling are also provided for local development and CI/CD pipelines.
When to use it — and when not to
Use Medusa when you need full control over your commerce stack, custom business logic, or integration with non-standard systems (e.g., legacy ERP, bespoke fulfillment). Avoid it if you require out-of-the-box storefront templates, minimal technical resources, or hosted admin tools without engineering overhead. Self-hosting requires managing PostgreSQL, Redis, and storage (e.g., S3), plus SMTP for email delivery. While Medusa replaces Shopify’s backend, it shifts operational burden to the development team—no managed SSL, backups, or uptime SLA unless using Medusa Cloud.
project readme (upstream, from github) — read inline
Medusa
Building blocks for digital commerce
Getting Started
The fastest way to get started is with Medusa Cloud. It provides a managed environment optimized for Medusa applications, with automated deployments, scaling, and maintenance. Get started on Medusa Cloud
To set up a Medusa application locally, visit the Documentation.
About Medusa
Medusa is a commerce platform with a built-in framework for customization that allows you to build custom commerce applications without reinventing core commerce logic. The framework and modules can be used to support advanced B2B or DTC commerce stores, marketplaces, distributor platforms, PoS systems, service businesses, or similar solutions that need foundational commerce primitives. Medusa's core commerce modules are open-source and freely available on npm. Enterprise Edition features are identified separately in the repository.
Learn more about Medusa’s architecture and commerce modules in the Docs.
Upgrades & Integrations
Follow the Release Notes to keep your Medusa project up-to-date.
Check out all available Medusa integrations.
Community & Contributions
The core team is available in GitHub Discussions, where you can create issues, share ideas, and discuss roadmap.
Our Contribution Guide describes how to contribute to the codebase and Docs.
Join our Discord server to meet and discuss with more than 14,000 other community members.
Other channels
License
Medusa uses an open-core model. The core is licensed under the MIT License. The RBAC-based Enterprise Edition materials identified in ENTERPRISE-LICENSE.md require a commercial agreement with MedusaJS, Inc.