Back to React Admin

or

packages/create-react-admin/templates/ra-data-fakerest/README.md

5.14.6522 B
Original Source

DataProvider

The included data provider use FakeREST to simulate a backend. You'll find a data.json file in the src directory that includes some fake data for testing purposes.

It includes two resources, posts and comments. Posts have the following properties: id, title and content. Comments have the following properties: id, post_id and content.

Tests

You can run the included tests with the following command:

sh
npm run test
# or
yarn run test