The open-source storefront for any ecommerce. Built with a PWA and headless approach, using a modern JS stack. Works with Litekart, Medusa. WIP for Woocommerce, Bigcommerce and Shopify.
Svelte Commerce is an open-source frontend for any eCommerce platform. It is built with a PWA (Progressive Web App) and headless approach, leveraging a modern JavaScript stack. The project aims to provide a flexible solution for connecting with various eCommerce backends through APIs, including MedusaJS, WooCommerce, Bigcommerce, and Shopify. Svelte Commerce offers both server-side rendering (SSR) and single-page application (SPA) capabilities, ensuring fast performance. It is free and open source, allowing users to download and modify the code to suit their specific needs. With Svelte Commerce, users can easily integrate essential eCommerce features with their existing backend without making a significant investment.
To install Svelte Commerce, follow these steps:
Clone the Svelte Commerce repository from GitHub:
git clone <repository-url>
Navigate to the cloned repository:
cd svelte-commerce
Install the dependencies:
npm install
Configure the necessary settings in the following files:
src/lib/config/
: Update non-secret and application-wide configurations according to your requirements..env
: Store secret configurations.src/lib/services/index.ts
: Choose which eCommerce service to use.Start the development server:
npm run dev
Open your browser and navigate to http://localhost:3000
to access the Svelte Commerce app.
To deploy Svelte Commerce, you can use Netlify or Vercel. It requires zero configuration. Alternatively, you can use Docker by pulling the latest Docker image and deploying it.
Svelte Commerce is an open-source frontend for eCommerce platforms, built with a PWA and headless approach. It offers a range of features including SSR and SPA capabilities, API integration, and easy customization. With its flexible architecture and support for various eCommerce platforms, Svelte Commerce provides a seamless solution for integrating eCommerce functionality into existing backends. It is free and open source, making it accessible to developers who want to modify the code according to their specific requirements.