.dev
SDKs

SDKs overview

Official Feeef clients for JavaScript/TypeScript and Dart/Flutter.

Both SDKs are first-party — the JavaScript SDK powers the storefront and admin dashboard, and the Dart SDK powers the official merchant app. They track the API closely and share the same repository-per-resource design, so knowledge transfers between them.

Shared design

ConceptJavaScriptDart
Entry pointnew FeeeF({ apiKey, baseURL })Feeef.instance.init(baseUrl: …, storage: …)
HTTPAxios (bring your own instance)Dio (owned by the singleton)
Resourcesfeeef.products, feeef.orders, …Feeef.instance.products, .orders, …
ListsListResponse { data, total, page, limit }ListResponse<T> (same normalization)
Filteringfilterator param on list()filterator param on list()
Batch opsbatchCreate/batchUpdate/batchDelete mixinsSame, via repository batch mixins
RealtimecreateFeeefTransmit + RealtimeCrudEventFeeef.instance.realtime (transmit_client)
Uploadsfeeef.storage.upload(file)Feeef.instance.storage.upload(file: …)
OAuthfeeef.oauth.* + buildAuthorizeUrlFeeef.instance.oauth.* + AppRepository.buildAuthorizeUrl

Which one?

  • Building for the web (Node, Next.js, storefront themes, dashboards, bots) → JavaScript.
  • Building mobile or desktop apps with Flutter → Dart.
  • Building a server integration in another language → call the REST API directly; the OpenAPI spec at api.feeef.org/openapi.json can generate a client.

On this page