shahednasser / medusa-marketplace-tutorial

Code for Medusa Marketplace Tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:TypeScript 95.8%Language:JavaScript 3.4%Language:Dockerfile 0.5%Language:Shell 0.3%