Class Store

public

A Store coordinates interaction between your application, a Cache, and sources of data (such as your API or a local persistence layer) accessed via a RequestManager.

app/services/store.js
1
2
3
import Store from '@ember-data/store';

export default class extends Store {}

Most Ember applications will only have a single Store configured as a Service in this manner. However, setting up multiple stores is possible, including using each as a unique service.