Skip to content

Latest commit

 

History

History
executable file
·
38 lines (28 loc) · 863 Bytes

README.md

File metadata and controls

executable file
·
38 lines (28 loc) · 863 Bytes

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.