aor-jsonapi-client

WebJar for aor-jsonapi-client

License

License

ISC
Categories

Categories

Github Development Tools Version Controls CLI User Interface JSON Data
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

github-com-practo-aor-jsonapi-client
Last Version

Last Version

0.1.15
Release Date

Release Date

Type

Type

jar
Description

Description

aor-jsonapi-client
WebJar for aor-jsonapi-client
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/practo/aor-jsonapi-client

Download github-com-practo-aor-jsonapi-client

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/github-com-practo-aor-jsonapi-client/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>github-com-practo-aor-jsonapi-client</artifactId>
    <version>0.1.15</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-practo-aor-jsonapi-client/
implementation 'org.webjars.npm:github-com-practo-aor-jsonapi-client:0.1.15'
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-practo-aor-jsonapi-client/
implementation ("org.webjars.npm:github-com-practo-aor-jsonapi-client:0.1.15")
'org.webjars.npm:github-com-practo-aor-jsonapi-client:jar:0.1.15'
<dependency org="org.webjars.npm" name="github-com-practo-aor-jsonapi-client" rev="0.1.15">
  <artifact name="github-com-practo-aor-jsonapi-client" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='github-com-practo-aor-jsonapi-client', version='0.1.15')
)
libraryDependencies += "org.webjars.npm" % "github-com-practo-aor-jsonapi-client" % "0.1.15"
[org.webjars.npm/github-com-practo-aor-jsonapi-client "0.1.15"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

JSON API REST client for Admin-on-rest.

This is custom implementation of JSON API REST client forked from (https://github.com/moonlight-labs/aor-jsonapi-client).

Installation

The library can be installed using:

npm install git+https://github.com/practo/aor-jsonapi-client.git

It can also be installed using yarn:

yarn add git+https://github.com/practo/aor-jsonapi-client.git

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;
org.webjars.npm

Practo

Your home for health

Versions

Version
0.1.15