Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
react-admin-cubicweb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cubicweb
react-admin-cubicweb
Commits
e6b810da18f1
Commit
e6b810da18f1
authored
4 years ago
by
François Ferry
Browse files
Options
Downloads
Patches
Plain Diff
doc(readme): add some content to readme
parent
3f96e0b0f87b
No related branches found
No related tags found
1 merge request
!1
doc(readme): add some content to readme
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+39
-1
39 additions, 1 deletion
README.md
with
39 additions
and
1 deletion
README.md
+
39
−
1
View file @
e6b810da
# react-admin-cubicweb
# React-Admin-CubicWeb
React-Admin-CubicWeb (
`ra-cubicweb`
) is a proof of concept to use
react-admin with a CubicWeb instance. It aims to provide:
*
an implementation of a data provider allowing to use data from CubicWeb
with React-admin;
*
default admin views in order to manage CubicWeb entities (displaying,
creation, edition).
If this proof of concept is conclusive, React-Admin-CubicWeb could replace
the legacy views of CubicWeb for administration interface.
React-admin (https://marmelab.com/react-admin/) is a React Web framework
(with typescript bindings) allowing to simply build administration interfaces.
## How does it work ?
...
...
@@ -2,1 +18,23 @@
React-admin relies on Resource components. A Resource component is a React
component allowing to declare views in order to display, create and edit
instances of concept.
For each resource component, it creates routes to adequate pages. To load data
it uses a data provider which implements data fetching from a given source of
data.
In our case, we aims to define a data provider allowing to fetch data from any
CubicWeb instance.
## Usage overview
We need:
*
a CubicWeb instance with cubicweb-rqlcontroller
(https://forge.extranet.logilab.fr/cubicweb/cubes/rqlcontroller/);
*
a Javascript object which represents the yams schema of the aforementioned
instance;
*
to create a React application which will use ra-cubicweb resources
and data provider.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment