Request for Full Frappe/ERPNext Integration with MedusaJS

Honestly though, if I had a chance to rewrite this, I would have done it as an erpnext plugin and tried to sync everything from the erpnext side. I think a tighter integration with erpnext is a better approach if youā€™re doing invoicing and accounting from the erpnext side (which is what erpnext excels at).

3 Likes

Thanks a heap for sharing this @clayrisser !

Medusa are yet to release 2.0 which is why I have held the research. I would really love to take the plugin you just shared for a spin, and it would be great from the community to do so as well to provide as much input as required.

1 Like

This is a promising start for integrating ERPNext and MedusaJS, leveraging ERPNextā€™s robust accounting capabilities alongside MedusaJSā€™s powerful e-commerce functionalities.

1 Like

Hi, Just starting now using Medusa and can you tell me how to install your plugin and do the configuration for ERPNext ?

Thanks again for this contribution. Do you have plans to make it compatible with Medusa V2?

Has anyone tried and installed this plugin:

Medusa have released v2 so the plugin will not work with v2 therefore it needs us a community to work on upgrading it.

I truly suggest that we keep this Medusa JS integration topic on :fire: :fire: :fire:

Medusa is also mentioned/talked about here several times: Shopping Cart Logic - #21 by ccraig

Official V2 will be released on October 23rdā€¦though theyā€™ve pushed back the release date a few times already.

However, the release candidate is out, so the new API should finalized. Once itā€™s released Iā€™ll look into it again. Iā€™m still leaning towards Vendure.io, but maybe MedusaJS V2 will surprise me :smiley:

1 Like

Great! Could you please enlighten us why Vendure poses to be the better one? Have you also tried Saleor?

Thanks for mentioning the official release as I meant to specify the release candidate of V2 which has been released a few weeks ago.

TL;DR: Try both and see what feels better to work with!

Mostly anecdotal evidence as Iā€™m focusing on a Laravel frontend for Vendure at the moment. A programmer who I respect moved from MedusaJS 1.0 to Vendure. Vendure already has the features MedusaJS is promising and more, but are stable since theyā€™ve been around for a while.

I need to review extensibility in MedusaJS. Itā€™s quite good in Vendure. Medusa does not offer a way to customize the Admin UI, while Vendure does, though it may be in V2? Still not seeing it in the docs. This would be a good time to mention that Vendure has very good documentation.

Thereā€™s also the GraphQL vs REST debate. Iā€™m not normally a fan of GQL, but it does seem like a good fit for this type of API (Shopify uses GQL) since youā€™re constantly pulling in various related data on single page and donā€™t want to be running multiple requests. That said, Vendure letā€™s you use REST too! In fact you can do just about anything with it since itā€™s running on top of NestJS.

Vendure also has an active YouTube Channel where Michael Bromley, the creator of Vendure, posts fairly often and is active daily in the Vendure Discord. MedusaJSā€™s last video was from 2 years ago! Lots of videos doesnā€™t guarantee a project is better, but it sure is helpful!

MedusaJS also got $9 million in funding. Where did those millions go :thinking: Iā€™m gonna get an angry message from Nick Gellner of MedusaJS for this post :grin: :purple_heart:

That said, Iā€™m going to use which ever project I feel is best, so please give both a try! I know I came off a bit biased, so I wonā€™t count MedusaJS out just yet :slight_smile:

Edit: Forgot about Saleor. They treat their Open Source version as a second class citizen. Only the paid accounts get ā€œEarly patch releasesā€. I briefly stopped by their site a while ago and wasnā€™t impressed compared to these two. Again, give it a try. Thatā€™s the beauty of headless since you can keep your frontend and just swap the backend with minimal fuss. Plus itā€™s written in Pythonā€¦ oh wait we have to like Python here :sweat_smile:

1 Like

Thanks for the detailed comparison, @ccraig. Perhaps Medusa invested the $9m in Medusa Cloud which they just launched this week :smile:. Regarding Vendure, I just somehow feel that itā€™s a bit like WooCommerce (built on WP), when I first used Medusa 1.x I liked how slick and performant it is and I truly believe it has high potential especially the latest release with 17 composable modules. Hopefully we can get one of the opensoure commerce integrated with ERPNext but I am starting to think the other way around.

Let me explain: ERPNext is certainly a lovely product, but I somehow come to see that the POS part is lacking a lot and is not really a priority to Frappe ( at least thatā€™s what my impression this year is ). So I am starting to think why not build a POS from scratch built on MedusaJS and that way we can manage the inventory from Medusa and have a world class storefront with a POS for instore payments etc. Medusa is also integrated with Stripe and many other payment providers as well.

What do you guys think? Who ever is keen to take this forward DM me and letā€™s take this offline and perhaps work on it together.

1 Like

BTW I do echo your thought about Medusa JS and the lack of videosā€¦ However I think they will fairly get better with that. I follow them on X (exTwitter) in which they have been quite active in updates so I believe they will start making some videos.

First off, happy MedusaJS launch day!

A Woo comparison is a low blow haha. Iā€™ve used Woo and itā€™s hacked together (though well done) on top of Wordpress a blogging program, while Vendure is built from scratch using NestJS, an actual framework for building web services. I do not know much about the custom framework MedusaJS just built, but Vendure using NestJS makes it battle tested and infinitely customizable without having to wait for MedusaJS to add functionality to theirs, while they also work on e-commerce features.

Vendure 2.2 is very fast. V1 did have significant performance issues.

Now let me praise MedusaJS.

  • I like the pretty graphics in their docs (thatā€™s where the $9mill went :wink:)
  • Version 2.0 is a a major overhaul and probably the newest headless e-commerce framework out there
  • Itā€™s a fresh take so it should not have the technical debt other frameworks may have
  • Having a custom framework designed for e-commerce can also speed up development if itā€™s got what you need (Granted, thatā€™s also what Vendure is, just they choose not to reinvent the low level stuff)
  • AND no need for a GQL code generation so you can use TypeScript. That part is my biggest annoyance with Vendure.

Either way, Iā€™m excited to try them both now that MedusaJS is ready to play. Iā€™ve been reading through their docs but they do things quite differently so itā€™s been hard to compare them. Iā€™m fully prepared to declare MedusaJS my lord and savior if I think itā€™s better :grin:

In the end itā€™s going to be more like a React vs Vue vs Svelte. All of them can do what you want, it just does it differently. I use SvelteKit btw :partying_face:

Now changing subjects about a POS. Let me know if I misunderstood what you meant about them.

Well since itā€™s headless, youā€™re always building a POS/e-commerce site from scratch (or use their website template). If you are just looking to replace a Square, Clover, etc. type POS device, then you could absolutely do that over a weekend. I have larger inventory/warehousing/accounting needs than those things can handle, so thatā€™s my interest in ERPNext.

We have a fancy Square POS system we use at events and the Credit Card/Apple Pay/Google Pay/etc. device it comes with is very convenient. You could definitely use your own hardware with a custom app, but it will take more effort to get that ease of use.

When I see a comparison I meant the interface/UI and definitely from a holistic approach. We certainly cannot compare a plugin ā€œWooCommerceā€ with a platform ā€œVendureā€.

Agreed on this part. But I believe it would be great to have a built in Medusa POS - which I am planning on working on when i sharpen my tech skills.

Svelte :black_heart:

1 Like

In more update news, Vendure just announced they are getting some corporate backing from Elevantiq. The plot thickens!

1 Like

I made this so far :wink: it still needs more features/blocks. Whoeverā€™s interested in working on it with me shout me out / DM me.

2 Likes

Great! Now they will have $9m to spill :wink: :melting_face:

Looking good! Is this designed as a Frappe app or a Medusajs module?