Skip to content

shahednasser/medusa-marketplace-tutorial

Repository files navigation

Medusa Marketplace Tutorial

⚠️ this repository is deprecated and it's recommended to check out this one instead.

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