@@ -21,70 +21,16 @@ and will use axios unless you provide a different http library.
2121Tested on IE9, Chrome 46, Firefox 41 & Safari 7.1 using
2222<img src =" https://raw.githubusercontent.com/js-data/js-data-localstorage/master/bs.jpg " alt =" bs logo " title =" browserstack " width =" 150 " height =" 35 " style =" vertical-align : middle " />
2323
24- To get started, visit __ [ http://js-data.io ] ( http://www.js-data.io ) __ .
24+ To get started, visit the main website at __ [ http://js-data.io ] ( http://www.js-data.io/v3.0/docs/js-data-http ) __ .
2525
26- ## Table of contents
26+ ## Links
2727
28- * [ Quick start] ( #quick-start )
29- * [ Dependencies] ( #dependencies )
30- * [ Guides and Tutorials] ( #guides-and-tutorials )
31- * [ API Reference Docs] ( #api-reference-docs )
32- * [ Community] ( #community )
33- * [ Support] ( #support )
34- * [ Contributing] ( #contributing )
35- * [ License] ( #license )
36-
37- ## Quick Start
38- ` npm install --save js-data js-data-http ` or ` bower install --save js-data js-data-http ` .
39-
40- ` npm install --save axios js-data js-data-http-node `
41-
42- __ ES6__
43-
44- ``` js
45- // Doesn't make much sense to use DataStore on the server
46- import {Container } from ' js-data'
47- import HttpAdapter from ' js-data-http-node'
48-
49- const adapter = new HttpAdapter ()
50- const container = new Container ()
51-
52- container .registerAdapter (' http' , adapter, { default: true })
53-
54- container .defineMapper (' school' )
55- container .defineMapper (' student' )
56-
57- container .find (' school' , 1 ).then (function (school ) {
58- // ...
59- })
60- ```
61-
62- ## Dependencies
63-
64- ` js-data-http ` bundles axios and depends on ` js-data ` . ` js-data-fetch ` depends
65- on ` js-data ` . ` js-data-http-node ` depends on ` js-data ` and optionally axios.
66-
67- See [ JSData's dependencies] ( https://github.com/js-data/js-data/blob/master/README.md#dependencies ) .
68-
69- ## Guides and Tutorials
70-
71- [ Get started at http://js-data.io ] ( http://js-data.io )
72-
73- ## API Reference Docs
74-
75- [ Visit http://api.js-data.io ] ( http://api.js-data.io ) .
76-
77- ## Community
78-
79- [ Explore the Community] ( http://js-data.io/docs/community ) .
80-
81- ## Support
82-
83- [ Find out how to Get Support] ( http://js-data.io/docs/support ) .
84-
85- ## Contributing
86-
87- [ Read the Contributing Guide] ( http://js-data.io/docs/contributing ) .
28+ * [ Quick start] ( http://www.js-data.io/v3.0/docs/js-data-http )
29+ * [ Guides and Tutorials] ( http://www.js-data.io/v3.0/docs/home )
30+ * [ API Reference Docs] ( http://api.js-data.io/js-data-http )
31+ * [ Community] ( http://js-data.io/docs/community )
32+ * [ Support] ( http://js-data.io/docs/support )
33+ * [ Contributing] ( http://js-data.io/docs/contributing )
8834
8935## License
9036
@@ -105,7 +51,7 @@ Copyright (c) 2014-2016 js-data-http project authors
10551[ circle_l ] : https://circleci.com/gh/js-data/js-data-http/tree/master
10652[ dn_b ] : https://img.shields.io/npm/dm/js-data-http.svg?style=flat
10753[ dn_l ] : https://www.npmjs.org/package/js-data-http
108- [ cov_b ] : https://img.shields.io/coveralls/ js-data/js-data-http/master .svg?style=flat
109- [ cov_l ] : https://coveralls .io/github/js-data/js-data-http?branch=master
54+ [ cov_b ] : https://img.shields.io/codecov/c/github/ js-data/js-data-http/3.0 .svg?style=flat
55+ [ cov_l ] : https://codecov .io/github/js-data/js-data-http
11056[ cod_b ] : https://img.shields.io/codacy/3931bbd8d838463297f70640aa78251b.svg
11157[ cod_l ] : https://www.codacy.com/app/jasondobry/js-data-http/dashboard
0 commit comments