Directus Data Provider & Auth Provider For React-Admin
Directus Data Provider & Auth Provider for react-admin, the frontend framework for building admin applications on top of REST/GraphQL services.
This repository contains:
- The actual
ra-directus
package - A simple demo app you can run locally to try out
ra-directus
with your own Directus app
Simple Demo
Prerequesites
You need to have a Directus account and to create a new Community Cloud project with the Demo template.
This should initialize a project with the products
and articles
collections which we are using in this demo.
Initial setup
- Clone this project
- Setup environment variables. You can do this by creating a
.env
file inpackages-demo
. The following variable is required:
VITE_DIRECTUS_URL=http://my-app.directus.app
- Run
make install build-ra-directus run
to install the dependencies and start the Demo App
License
This repository and the code it contains is licensed under the MIT License and sponsored by marmelab.