Based on https://github.com/wycats/indexeddb-experiment.
Include ember-data-indexeddb-adapter.js
in your ember/ember-data app.
Set the databaseName
in your app definition:
App = Ember.Application.create({
databaseName: 'contacts-app-database'
});
For synchronizing data between client-side storage and server-side storage, take a look at ember-data-sync.
Tests
Set the database name automatically, avoiding conflicts.