Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Keith-Hon/medusa-marketplace

Repository files navigation

Medusa Marketplace

Project status

  • Assigned store_id to Order, Product to make them store specific
  • Seeded with multiple vendors and their respective products (This step requires changing medusa original source codes)
  • Allow each merchant to register with their stripe/ paypal account
  • Create and process payment for an order with multiple merchants

Instructions:

  1. Run the workspace in gitpod container

Open in Gitpod

  1. Open it in VS Code locally

  2. No step 3 :)


Introduction

  1. The gitpod image runs a postges database locally. Do "NOT" inside browser as urls are configured using localhost

  2. 3 users are created with name "user 1/ user 2/ user 3) and each owns a store named "store 1/ store 2/ store 3), which assigned some products with start with.

  3. You should see different products by logging in with different user account.

username: user1@example.com password: supersecret

username: user2@example.com password: supersecret

username: user3@example.com password: supersecret


If the above commands run successfully,

Backend will be running at port 9000

Admin dashboard will be running at port 4200

Storefront will be running at port 3000

Postgres database is accessible via localhost:5432

username gitpod

password gitpod

database postgres


Reference

Tutorial

Part 1: https://medusajs.com/blog/medusa-extender

Part 2: https://medusajs.com/blog/medusa-open-source-marketplace-part-2-make-orders-vendor-specific

Part 3: https://medusajs.com/blog/online-marketplace-tutorial-part-3-implement-user-management-and-permissions

https://medusajs.com/

https://github.com/medusajs/medusa

About

NX workspace for running medusa backend, storefront and admin panel with marketplace functionalities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published