https://github.com/fzaninotto/ra-relationships-tutorial
A sample react-admin app demonstrating fields for relationships. Support for a video tutorial on YouTube.
https://github.com/fzaninotto/ra-relationships-tutorial
react react-admin tutorial
Last synced: 6 months ago
JSON representation
A sample react-admin app demonstrating fields for relationships. Support for a video tutorial on YouTube.
- Host: GitHub
- URL: https://github.com/fzaninotto/ra-relationships-tutorial
- Owner: fzaninotto
- Created: 2024-03-05T16:58:01.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-05T16:58:18.000Z (about 2 years ago)
- Last Synced: 2025-03-27T20:41:45.625Z (about 1 year ago)
- Topics: react, react-admin, tutorial
- Language: HTML
- Homepage: https://youtu.be/UeM31-65Wc4
- Size: 21.5 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/).