https://github.com/spoonx/boards-preset-ra
Boards preset for react admin.
https://github.com/spoonx/boards-preset-ra
Last synced: about 1 year ago
JSON representation
Boards preset for react admin.
- Host: GitHub
- URL: https://github.com/spoonx/boards-preset-ra
- Owner: SpoonX
- License: mit
- Created: 2018-09-12T17:46:32.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-12T19:46:42.000Z (almost 8 years ago)
- Last Synced: 2025-06-03T02:11:56.085Z (about 1 year ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# boards-preset-ra
[React-admin](https://marmelab.com/react-admin) preset for the [Boards CLI](https://github.com/SpoonX/boards-cli).
## Installing
`yarn global add boards-preset-ra` or `npm i -g boards-preset-ra`
## Quick start
To see this boards preset in action and create a fully functional dashboard in under 5 minutes, follow these steps:
1. `yarn global add boards-cli boards-preset-ra`
2. `boards ra:init my-project`
3. `cd my-project`
4. `boards ra:resource posts`
5. `boards ra:resource albums`
6. `yarn start`
7. Pick up your jaw, and get productive.
## Tasks
This preset adds the following tasks to your project.
### ra:init
Initializes a new react-admin project.
`boards ra:init my-project`
### ra:resource
Create a full resource with edit, create, list and delete enabled. Also attaches resource to App.js.
`boards ra:resource resourceName`
### ra:list
Creates a new resource with only listing (readonly resource).
`boards ra:list resourceName`
### ra:edit
Adds edit to an existing resource that previously didn't have edit enabled.
`boards ra:edit resourceName`
### ra:create
Adds create to an existing resource that previously didn't have create enabled.
`boards ra:create resourceName`
## License
MIT