https://github.com/garridorafa/ra-strapi-v4-rest
React Admin REST data provider for Strapi.js v4
https://github.com/garridorafa/ra-strapi-v4-rest
react react-admin reactjs rest strapi
Last synced: 6 months ago
JSON representation
React Admin REST data provider for Strapi.js v4
- Host: GitHub
- URL: https://github.com/garridorafa/ra-strapi-v4-rest
- Owner: garridorafa
- License: mit
- Created: 2022-10-09T21:31:05.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-15T14:47:58.000Z (over 1 year ago)
- Last Synced: 2024-10-20T08:58:22.178Z (12 months ago)
- Topics: react, react-admin, reactjs, rest, strapi
- Language: TypeScript
- Homepage:
- Size: 61.5 KB
- Stars: 24
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rest Strapi v4 Provider For React-Admin
Rest Strapi v4 Provider for [React Admin](https://marmelab.com/react-admin/). For Strapi v3 try [ra-strapi-rest](https://github.com/nazirov91/ra-strapi-rest).
# Installation
```
npm i ra-strapi-v4-rest
```# Usage
```js
import * as React from "react";
import { Admin, Resource } from "react-admin";
import { strapiRestProvider } from "ra-strapi-v4-rest";import { PostList } from "./posts";
const App = () => (
);
```# Nested filter example
The following will return all the books written by author with id 2:
```js
```
# License
This data provider is licensed under the MIT License.