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
import Store from '@ember-data/store';

export default class extends Store {}

Most 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 or within a specific context.