💾 Archived View for dioskouroi.xyz › thread › 29392312 captured on 2021-11-30 at 20:18:30. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Show HN: Medusa - The open-source Shopify alternative

Author: skewin

Score: 31

Comments: 4

Date: 2021-11-30 14:17:18

Web Link

________________________________________________________________________________

jaquers wrote at 2021-11-30 17:00:17:

Looks sweet. How hard would it be to run in a multi-tenant scenario? Does/could the plugin system offer such flexibility?

owjuhl wrote at 2021-11-30 17:20:27:

We currently don't support it out-of-the-box, but a community member is building a custom multi-tenant solution on top of Medusa essentially using the engine as building blocks.

Our architecture allows you to create custom entities, services and endpoints in your own Node.js project. Additionally, we use Avilix for dependency injection which allows you to use all services across all parts of the system; core, plugins, your custom project. In combination, you are provided with the primitives that can handle commerce business logic in almost any type of project.

dantetheinferno wrote at 2021-11-30 18:12:13:

Do you allow serverless deployments? Or does it have to be running on a docker / machine?

owjuhl wrote at 2021-11-30 19:19:37:

Haven't investigated deploying Medusa to a serverless environment yet. We use background workers to process jobs from a Bull queue and those do not necessarily finish within the lifetime of a request. To allow for a serverless setup, we would need to handle these jobs differently, so that they can be carried out even though the servers scale to zero.