Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fzaninotto/ra-customroutes-tutorial

A sample react-admin app demonstrating the CustomRoutes component. Support for a video tutorial on YouTube.
https://github.com/fzaninotto/ra-customroutes-tutorial

react react-admin routing tutorial

Last synced: 19 days ago
JSON representation

A sample react-admin app demonstrating the CustomRoutes component. Support for a video tutorial on YouTube.

Awesome Lists containing this project

README

        

# test-admin

## Installation

Install the application dependencies by running:

```sh
yarn
```

## Development

Start the application in development mode by running:

```sh
yarn dev
```

## Production

Build the application in production mode by running:

```sh
yarn build
```

## DataProvider

The included data provider use [ra-data-json-server](https://github.com/marmelab/react-admin/tree/master/packages/ra-data-json-server). It fits REST APIs powered by [JSON Server](https://github.com/typicode/json-server), such as [JSONPlaceholder](https://jsonplaceholder.typicode.com/).

You'll find an `.env` file at the project root that includes a `VITE_JSON_SERVER_URL` variable. Set it to the URL of your backend. By default, we set it to targets [JSONPlaceholder](https://jsonplaceholder.typicode.com/).