Skip to content

ahsanwtc/medusa-marketplace-tutorial

 
 

Repository files navigation

Medusa Marketplace Tutorial

The code for this tutorial at the moment only supports Medusa v1.3.1 and Medusa Extender v1.7.2

Code for Medusa Marketplace Tutorial using Medusa Extender.

This includes the full Medusa server. If you want to install the marketplace into an existing Medusa server, please check out the Medusa Marketplace plugin instead.

Prerequisites

Before you run this code you'll need PostgreSQL and Redis installed.

Installation

After cloning the repository, install the dependencies:

npm i

Configuration

Copy .env.example to .env and add your database and Redis configurations as necessary.

Seed and Migrate Database

Run the following command to seed the database:

npm run seed

Before running migrations, make sure to run the build command:

npm run build

Then run the migrations

./node_modules/.bin/medex migrate --run

Running the Server

To run the server run the following command:

npm start

About

Code for Medusa Marketplace Tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.7%
  • JavaScript 3.4%
  • Other 0.9%