orbit-jsonapi v0.8.0-beta.5
OrbitJSONAPI 
The OrbitJSONAPI library includes a data source and serializer for Orbit.js that accesses a remote server that is compliant with the JSON:API spec.
Configuration
The JSONAPISource uses the experimental Fetch
API for network
requests. If you're running Orbit in an environment that does not support
fetch, use a polyfill such as whatwg-fetch
or node-fetch. Alternatively, you can
use a fetch ponyfill and set it on the main Orbit object. For example:
import Orbit from 'orbit';
import fetch from 'ember-network/fetch';
Orbit.fetch = fetch;Contributing
Installation
Install the CLI for Broccoli globally:
npm install -g broccoli-cliInstall other dependencies:
npm installBuilding
Distributions can be built to the /dist directory by running:
npm run buildTesting
CI Testing
Test in CI mode by running:
npm testOr directly with testem (useful for configuring options):
testem ciBrowser Testing
Test within a browser (at http://localhost:4200/tests/) by running:
npm startOr directly with broccoli (useful for configuring the port, etc.):
broccoli serveGenerating Documentation
Generate docs in the /docs directory:
npm run docsLicense
Copyright 2016 Cerebris Corporation. MIT License (see LICENSE for details).
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago