Skip to content

A react-admin dataProvider for xmysql's API generator

License

Notifications You must be signed in to change notification settings

iamsquare/ra-data-xmysql

Repository files navigation

@iamsquare/ra-data-xmysql

Xmysql data provider for react-admin, the frontend framework for building admin applications on top of REST services.

Installation

ra-data-xmysql is available from npm. You can install it using:

npm install @iamsquare/ra-data-xmysql

It can also be installed using yarn:

yarn add @iamsquare/ra-data-xmysql

Usage

First import the module in your App.js file:

import xmysqlDataProvider from 'ra-data-xmysql';

Then pass it to the Admin's dataProvider prop:

<Admin dataProvider={xmysqlDataProvider('http://my.api.url/api')} ...>

License

This module is licensed under the MIT Licence.