doongsilee / ra-data-firestore-client

Firestore Data Provider for react-admin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ra-data-firestore-client

A Firestore Client for the awesome react-admin framework. This library is a modified version of aymendhaya/ra-data-firebase-client

For a quick demo:

clone the repo & run

npm install 
npm run init 
npm run demo 

To install & test RestProvider & AuthProvider:

npm install ra-data-firestore-client

Check example implementation.

For AuthProvider, don't forget to add the user UID to your Firestore DB under /users matching the following structure:

"users": {
    "UID": {
        "isAdmin": true
    }
}

ra-data-firestore-client also supports base64 image uploading.

About

Firestore Data Provider for react-admin


Languages

Language:JavaScript 97.7%Language:HTML 2.3%