Ra Strapi Rest screenshot

Ra Strapi Rest

Author Avatar Theme by Nazirov91
Updated: 28 Apr 2023
127 Stars

React Admin data provider for Strapi.js

Categories

Overview

The Simple REST Data Provider for React Admin - Strapi is an integration tool that allows React Admin to communicate with the Strapi.js backend. It is compatible with Strapi V4 and offers features such as support for single and multiple data types, handling media files, basic filtering, sorting, pagination, and reference fields. The data provider is also tested with both Sqlite and Postgres databases. It is easy to install and use in a React Admin project without the need for additional dependencies.

Features

  • Works with Single Types: The data provider supports single types in a Strapi backend.
  • Works with Collection types: It can also handle collection types, allowing easy management of multiple data objects.
  • Works with Components: The tool supports the usage of components within the React Admin project.
  • Handles single and multiple Media files: The data provider can handle media files, both individual and multiple files.
  • Handles basic filtering: It provides support for basic filtering of data.
  • Handles sorting and pagination: The tool also enables sorting and pagination functionalities for the data.
  • Works with reference fields/inputs under community version: It is compatible with the reference field and input functionality in the community version of Strapi.
  • Tested with Sqlite and Postgres: The data provider has been thoroughly tested with both Sqlite and Postgres databases.

Installation

To install the Simple REST Data Provider for React Admin - Strapi, follow these steps:

  1. Save the index.ts file as ra-strapi-rest.ts.
  2. Import the ra-strapi-rest.ts file into your React Admin project.
    import raStrapiRest from './ra-strapi-rest.ts';
    
  3. There is no need to install any additional dependencies for the data provider.

Alternatively, if you prefer to add the data provider to the node modules, you can run the following command:

npm install ra-strapi-rest

Summary

The Simple REST Data Provider for React Admin - Strapi is a powerful tool that facilitates the integration between React Admin and the Strapi.js backend. With support for various features such as single and multiple data types, media files, filtering, sorting, and pagination, it allows for efficient management of data within a React Admin project. The easy installation process and compatibility with both Sqlite and Postgres databases make it a convenient choice for developers.