@iamsquare/ra-data-xmysql
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "@iamsquare/ra-data-xmysql", | ||
"version": "0.0.1", | ||
"private": false, | ||
"version": "0.0.2", | ||
"description": "A react-admin dataProvider for xmysql's API generator", | ||
@@ -20,2 +19,9 @@ "main": "src/index.js", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/iamsquare/ra-data-xmysql" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/iamsquare/ra-data-xmysql/issues" | ||
}, | ||
"dependencies": { | ||
@@ -22,0 +28,0 @@ "axios": "^0.19.2", |
@@ -1,1 +0,32 @@ | ||
ra-data-xmysql | ||
# @iamsquare/ra-data-xmysql | ||
[Xmysql](https://github.com/o1lab/xmysql) data provider for [react-admin](https://github.com/marmelab/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: | ||
```sh | ||
npm install @iamsquare/ra-data-xmysql | ||
``` | ||
It can also be installed using `yarn`: | ||
```sh | ||
yarn add @iamsquare/ra-data-xmysql | ||
``` | ||
## Usage | ||
First `import` the module in your `App.js` file: | ||
```js | ||
import xmysqlDataProvider from 'ra-data-xmysql'; | ||
``` | ||
Then pass it to the `Admin`'s `dataProvider` prop: | ||
```js | ||
<Admin dataProvider={xmysqlDataProvider('http://my.api.url/api')} ...> | ||
``` | ||
## License | ||
This module is licensed under the [MIT Licence](LICENSE). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
10038
0
33
0