Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shahednasser/medusa-marketplace-tutorial
Code for Medusa Marketplace Tutorial
https://github.com/shahednasser/medusa-marketplace-tutorial
Last synced: about 1 month ago
JSON representation
Code for Medusa Marketplace Tutorial
- Host: GitHub
- URL: https://github.com/shahednasser/medusa-marketplace-tutorial
- Owner: shahednasser
- Created: 2022-02-21T17:19:16.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-20T06:15:42.000Z (over 1 year ago)
- Last Synced: 2024-11-02T02:42:09.611Z (about 1 month ago)
- Language: TypeScript
- Size: 3.17 MB
- Stars: 55
- Watchers: 6
- Forks: 13
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-medusajs - Medusa marketplace tutorial
README
# Medusa Marketplace Tutorial
> :warning: this repository is deprecated and it's recommended to check out [this one](https://github.com/shahednasser/medusa-1.8-marketplace-tutorial) instead.
Code for Medusa Marketplace Tutorial using [Medusa Extender](https://github.com/adrien2p/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](https://github.com/shahednasser/medusa-marketplace) instead.
## Prerequisites
Before you run this code you'll need [PostgreSQL](https://www.postgresql.org/download/) and [Redis](https://redis.io/download) installed.
## Installation
After cloning the repository, install the dependencies:
```bash
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:
```bash
npm run seed
```Before running migrations, make sure to run the build command:
```bash
npm run build
```Then run the migrations
```bash
./node_modules/.bin/medex migrate --run
```## Running the Server
To run the server run the following command:
```bash
npm start
```