Xmysql data provider for react-admin, the frontend framework for building admin applications on top of REST services.
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
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')} ...>
This module is licensed under the MIT Licence.