https://github.com/ajuhos/api-client-admin-on-rest
REST client for the admin-on-rest package to work with api-core based APIs.
https://github.com/ajuhos/api-client-admin-on-rest
admin api api-client api-core react
Last synced: about 1 year ago
JSON representation
REST client for the admin-on-rest package to work with api-core based APIs.
- Host: GitHub
- URL: https://github.com/ajuhos/api-client-admin-on-rest
- Owner: ajuhos
- License: mit
- Created: 2017-05-08T14:58:04.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-10-18T16:17:08.000Z (over 7 years ago)
- Last Synced: 2025-04-17T11:19:32.342Z (about 1 year ago)
- Topics: admin, api, api-client, api-core, react
- Language: TypeScript
- Size: 26.4 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### API Core Client for Admin on REST
REST client for the admin-on-rest package to work with api-core based APIs.
[](https://raw.githubusercontent.com/ajuhos/api-client-admin-on-rest/master/LICENSE)
[](https://github.com/ajuhos/api-client-admin-on-rest/issues)
[](https://travis-ci.org/ajuhos/api-client-admin-on-rest)
[](https://coveralls.io/github/ajuhos/api-client-admin-on-rest?branch=master)
## Installation
To install the latest version, use NPM:
```bash
$ npm install api-client-admin-on-rest
```
## Usage
For example in the [tutorial](https://marmelab.com/admin-on-rest/Tutorial.html) you can simply replace the built in rest client with this one:
```jsx
import React from 'react';
import { restClient } from 'api-client-admin-on-rest';
import { Admin, Resource } from 'admin-on-rest';
import { PostList } from './posts';
const App = () => (
);
export default App;
```
## Tests
Coming soon...
## License
The [MIT License](https://github.com/ajuhos/api-client-admin-on-rest/blob/master/LICENSE). Free forever. :)