0.2.0 • Published 6 years ago

aor-jsonapi-client v0.2.0

Weekly downloads
53
License
ISC
Repository
github
Last release
6 years ago

JSON API REST client for Admin-on-rest.

A JSONAPI compatible adapter for Admin-on-REST that allows for rapidly building admin interfaces in React using the AOR framework.

Installation

aor-jsonapi-client is available from npm. You can install it (and its required dependencies) using:

npm install aor-jsonapi-client

It can also be installed using yarn:

yarn add aor-jsonapi-client

Usage

//in app.js
import React from "react";
import { Admin, Resource } from "admin-on-rest";
import jsonAPIRestClient from "aor-jsonapi-client/build/restClient";

const restClient = jsonAPIRestClient("http://localhost:3000");

const App = () => (
  <Admin dashboard={Dashboard} restClient={restClient}>
    ...
  </Admin>
);

export default App;
0.2.0

6 years ago

0.1.16

7 years ago

0.1.15

7 years ago

0.1.14

7 years ago

0.1.13

7 years ago

0.1.12

7 years ago

0.1.11

7 years ago

0.1.10

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago