Search code examples
pythondjangoe-commerce

Django + React as ecommerce shop


I have been learning Django and React for some time now. As part of my learning, I've decided to work on building my own store so I don't use Shopper anymore. Can you recommend any ready-made ecommerce framework where I can add React as frontend?


Solution

  • I have been doing some research along these same lines. It really depends on what you want to do with your store. If you're already familiar with React and aren't concerned about having multiple vendors, I'd suggest Saleor 3.0. The project used to use Django but has recently transitioned to a headless architecture with GraphQL.Since it's all decoupled you can use whatever frontend you want. I've seen some nice React and Next.js examples.

    from Saleor Github Repository:

    A modular, high performance, headless e-commerce platform built with Python, GraphQL, Django, and React.

    Saleor.io website has a live demo and you can request a sandbox.

    If you're looking to build a marketplace with multiple vendors it seems like SpreeCommerce is a solid option. It's built on Ruby but also can use anything for the storefront

    from Spree Github Repository:

    Open Source headless multi-language/multi-currency/multi-store eCommerce platform

    There are also a lot of 3rd party apps/plugins for Spree that extend the functionality.

    Spreecommerce.org