项目作者: mydea

项目描述 :
Utilities & adapter to work with IndexedDB in ember & ember-data
高级语言: JavaScript
项目地址: git://github.com/mydea/ember-indexeddb.git
创建时间: 2016-12-07T15:00:36Z
项目社区:https://github.com/mydea/ember-indexeddb

开源协议:MIT License

下载


ember-indexeddb

This addon provides utilities to work with IndexedDB based on Dexie.

Test & Lint
Ember Observer Score
npm version

It provides:

  • A service to configure the database & migrations/upgrades
  • A service to interact with the database
  • An ember-data adapter for IndexedDB

This set of utilities makes it possible to query data from an API, put it into IndexedDB, and work with a local database for full offline capabilities.

Documentation

The documentation shows how to setup & use ember-indexeddb.

View Documentation

For an example implementation, look at the example route in the dummy app. See the example configuration of the indexed-db-configuration service there as well.

Compatibility

  • Ember.js v3.16 or above
  • Ember CLI v2.13 or above
  • Node.js v10 or above