https://github.com/spoonx/boards-preset-aor
Boards-cli presets for Admin On Rest
https://github.com/spoonx/boards-preset-aor
Last synced: 12 months ago
JSON representation
Boards-cli presets for Admin On Rest
- Host: GitHub
- URL: https://github.com/spoonx/boards-preset-aor
- Owner: SpoonX
- License: mit
- Created: 2018-01-12T19:10:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-20T12:56:11.000Z (over 8 years ago)
- Last Synced: 2025-01-23T03:15:10.981Z (over 1 year ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# boards-preset-aor
[Admin on rest](https://marmelab.com/admin-on-rest) preset for the [Boards CLI](https://github.com/SpoonX/boards-cli).
## Installing
`yarn global add boards-preset-aor` or `npm i -g boards-preset-aor`
## 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-aor`
2. `boards aor:init my-project`
3. `cd my-project`
4. `boards aor:resource posts`
5. `boards aor:resource albums`
6. `yarn start`
7. Pick up your jaw, and get productive.
## Tasks
This preset adds the following tasks to your project.
### aor:init
Initializes a new Admin on Rest project.
`boards aor:init my-project`
### aor:resource
Create a full resource with edit, create, list and delete enabled. Also attaches resource to App.js.
`boards aor:resource resourceName`
### aor:list
Creates a new resource with only listing (readonly resource).
`boards aor:list resourceName`
### aor:edit
Adds edit to an existing resource that previously didn't have edit enabled.
`boards aor:edit resourceName`
### aor:create
Adds create to an existing resource that previously didn't have create enabled.
`boards aor:create resourceName`
## License
MIT