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:
- Run the workspace in gitpod container
-
Open it in VS Code locally
-
No step 3 :)
Introduction
-
The gitpod image runs a postges database locally. Do "NOT" inside browser as urls are configured using localhost
-
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.
-
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
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