sapper-ecommerce

Svelte ecommerce - Headless, Authentication, Cart & Checkout, TailwindCSS, Server Rendered, Proxy + API Integrated, Animations, Stores, Lazy Loading, Loading Indicators, Carousel, Instant Search, Faceted Filters, 1 command deploy to production, Open Source, MIT license. Join us as contributor (support@codenx.com)

Github星跟蹤圖

On sapper/svelte version bump do the following else it will show error while navigating on home page with carousel

node_modules/svelte/internal/index.mjs

https://github.com/sveltejs/svelte/issues/2086

function detach(node) {
    if(node.parentNode){
        node.parentNode.removeChild(node);
    }
}

Svelte Commerce - Attach Svelte store front to any ecommerce API (e.g. Litekart, Magento, Moltin, Shopify ...)

version
Branch stable
Branch Develop
Branch Develop, -------------------------------------------------------------------------------------------------------------------, ----------------------------------------------------------------------------------------------------------------, ----------------------------------------------------------------------------------------------------------------, Home Page, Detail Page, Search Page, Empty Cart, Login Page, Filters, # Built for speed

Following are the test results when all servers (Elasticsearch, Node, Static Server, Client) give a ping response <100 ms. The demo app hopyshopy.com is hosted at Mumbai (India), If you are testing from another country, the results my vary.

Solution to the above issue is to use a CDN. I am trying to find sponcers to migrate all to a CDN in near future.

Google Lighthouse/Pagespeed Audit Score (Search Page)

Google Lighthouse/Pagespeed Audit Score (Detail Page)

What is Litekart?

  • Litekart is a storefront for your existing eCommerce.
  • It is possible to connect with any eCommerce backend
  • No need to make a big leap or invest huge amount. Just take this opend source project and attach to existing backend.

Installation

Install - NodeJS - Yarn - Git

git clone https://github.com/itswadesh/sapper-ecommerce.git
cd sapper-ecommerce
yarn
yarn dev

Thats all !

Open http://localhost:4400 on chrome. Your app should be live

Deployment

Deploy to Netlify

Setup devops/live.js (Change according to your hosting envirnoment)

const PM2_NAME = 'h'
const REMOTE_DIR = '/var/www/hopyshopy/www'
const REMOTE_host = '165.22.222.60'
const REMOTE_USER = 'root'

Rename sample.env to .env and enter your server private key

Next

yarn live

Configurations

If required change src/config.js according to your requirement

Features

  • TailwindCSS Integrated
  • Server Rendered
  • Proxy + API integrated
  • Lazy loading images
  • Animations (Page transition)
  • Login
  • Cart & Checkout
  • Settings from database
  • Stores
  • SEO optimized pages
  • Carousel (Slider)
  • Loading Indicators
  • Componentized Checkbox, Radio, Textbox
  • Instant Search
  • Faceted filters
  • 1 click deploy to live server
  • API calls
  • Skeletons
  • Responsive
  • Fontawesome
  • PWA
  • >90 PWA score
  • filters: First, Date, Truncate, Currency
  • Generate production version files with css minified
  • PUT, POST, DELETE calls with Bearer Authorization
  • Storing tokens into cookie
  • Loader on route change with 100ms delay
  • Integrated Google Analytics

主要指標

概覽
名稱與所有者itswadesh/svelte-commerce
主編程語言Svelte
編程語言JavaScript (語言數: 7)
平台
許可證MIT License
所有者活动
創建於2019-10-08 07:24:43
推送於2025-09-06 14:49:25
最后一次提交
發布數20
最新版本名稱core@1.0.6 (發布於 2025-07-05 00:07:22)
第一版名稱2023.02.01 (發布於 )
用户参与
星數1.7k
關注者數31
派生數321
提交數1.9k
已啟用問題?
問題數35
打開的問題數11
拉請求數47
打開的拉請求數1
關閉的拉請求數17
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?