Integration
Svelte Commerce on Litekart
The stock backend and reference implementation. Every other connector matches its method signatures, because the storefront calls all connectors interchangeably.
Coverage
39 of 43 storefront services are wired to a real Litekart endpoint.
Env wiring and an override module ship with the repo.
$ npm uninstall @misiki/litekart-connector
$ npm i @misiki/litekart-connector
$ npm run devSetup
1 · Point the config at the connector
// kitcommerce.config.ts
export * as services from '@misiki/litekart-connector'2 · Set the environment
# .env
PUBLIC_LITEKART_API_URL=# Base URL of the Litekart API
PUBLIC_LITEKART_DOMAIN=# Store domain used to resolve store details
PUBLIC_LITEKART_STORE_ID=# Store to serve directly — required in productionWhat to know
- The default — a fresh clone runs on it with no changes.
- The only backend where CMS pages, blog, menus, Meilisearch autocomplete, wishlist and coupons are all served by the API.
- Theme is chosen in the admin and served by the API, overriding
PUBLIC_STOREFRONT_THEME.
Full guide with troubleshooting, store identity and per-service behaviour: docs/LITEKART.md