Git Product home page Git Product logo

ra-directus's Introduction

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.

Documentationโ€‚ Source Codeโ€‚

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 in packages-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.

ra-directus's People

Contributors

djhi avatar fzaninotto avatar slax57 avatar thibault-barrat avatar usman-coe avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

usman-coe ken1901

ra-directus's Issues

Anonymous access returns error

Using data and auth providers are working well in my project but if I want to allow anonymous access and set the disableAuthentication prop in a List component as described here, the following error is raised :

Cannot read properties of undefined (reading 'status')

which I guess is related to this line of code

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.