Medusa Starter Default
This repo provides the skeleton to get you started with using Medusa. Follow the steps below to get ready.
Prerequisites
This starter has minimal prerequisites and most of these will usually already be installed on your computer.
Setting up your store
- Install the Medusa CLI
Copy to clipboard
npm install -g @medusajs/medusa yarn global add @medusajs/medusa
- Create a new Medusa project
Copy to clipboard
medusa new my-medusa-store
- Run your project
Copy to clipboard
cd my-medusa-store medusa develop
Your local Medusa server is now running on port 9000.
Seeding your Medusa store
To seed your medusa store run the following command:
This command seeds your database with some sample data to get you started, including a store, an administrator account, a region and a product with variants. What the data looks like precisely you can see in the
file.Copy to clipboard./data/seed.json
Setting up your store with Docker
- Install the Medusa CLI
Copy to clipboard
npm install -g @medusajs/medusa-cli
- Create a new Medusa project
Copy to clipboard
medusa new my-medusa-store
- Update project config in
:Copy to clipboardmedusa-config.js
- Run your projectWhen running your project the first time
should be run with theCopy to clipboarddocker compose
flag to build your container locally:Copy to clipboardbuild
When running your project subsequent times you can run docker compose with no flags to spin up your local environment in seconds:
Your local Medusa server is now running on port 9000.
Seeding your Medusa store with Docker
To add seed data to your medusa store running with Docker, run this command in a seperate terminal:
This will execute the previously described seed script in the running
Docker container.Copy to clipboardmedusa-server
Try it out
After the seed script has run you will have the following things in you database:
- a User with the email: admin@medusa-test.com and password: supersecret
- a Region called Default Region with the countries GB, DE, DK, SE, FR, ES, IT
- a Shipping Option called Standard Shipping which costs 10 EUR
- a Product called Cool Test Product with 4 Product Variants that all cost 19.50 EUR
Visit docs.medusa-commerce.com for further guides.

Build your own plugins
Develop your own plugins with our API to speed up your processes.
Make your plugin available via npm for it to be shared in our Plugin Library with the broader Medusa community.
.png)