The open-source frontend for any eCommerce. Built with a PWA and headless approach, using a modern JS stack. The API approach also allows you to merge Svelte Commerce with any third-party tool like payment gateways, POS or AI. We have WIP for Litekart. Woocommerce, MedusaJS, Bigcommerce and Shopify.
The open-source frontend for any eCommerce. Built with a PWA and headless approach, using a modern JS stack. We have WIP for Litekart. Woocommerce, MedusaJS, Bigcommerce and Shopify. The API approach also allows you to merge Svelte Commerce with any third-party tool like payment gateways, POS or AI.
Svelte Commerce is a PWA storefront for your existing eCommerce based on Sveltekit.
It is possible to connect with any eCommerce backend that provides an API
We are working on adaptors of Medusajs, Shopify, Magento, Woocommerce, Litekart, Bigcommerce
Features
🛍️ Attach Svelte store front to Litekart and your complete ecommerce tech stack becomes free.
👥 The demo uses litekart as backend
👨🏻💻 Its both SSR and SPA
🚀 Superfast
🔗 It is possible to connect with any eCommerce backend if the backend has Rest API
🔓 Svelte Commerce is free and open source. Download and modify it the way you want
🛒 Most of the essential features for ecommerce are already integrated
💰 No need to make a big leap or invest huge amount. Just take this opend source project and attach to existing backend.
Get Started
git clone https://github.com/itswadesh/svelte-commerce.git
cd svelte-commerce
npm i
npm run dev
Thats all !
Open http://localhost:3000 on chrome. Your app should be live with awesome sveltekit up and running
Configuration
There are 3 places to configure
src/lib/config/ All non secret and application wide configs are stored here, if required, change according to your requirement.
.env All secrets stored here
src/lib/services/index.ts This is used to define which service to use. Only 1 of the listed service can be active at a time. Valid values are Litekart Medusa Bigcommerce Shopify Woocommerce
Deployment
Click on the button to directly deploy to Netlify or Vercel. Zero configuration required.
Docker
We also support docker images, use the following command to pull the latest docker image and deploy it:
docker run -d -p 3000:3000 ghcr.io/itswadesh/svelte-commerce:latest