Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/fzaninotto/ra-customroutes-tutorial
- Owner: fzaninotto
- Created: 2024-04-10T09:49:55.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-10T09:50:55.000Z (9 months ago)
- Last Synced: 2024-10-17T11:41:04.894Z (2 months ago)
- Topics: react, react-admin, routing, tutorial
- Language: TypeScript
- Homepage: https://youtu.be/aanhV-3SLtI
- Size: 34.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/).