gstvg / ra-data-firestore-client

Firestore Data Provider for react-admin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ra-data-firestore-client

NPM Version License Downloads/week Github Issues

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

Pull requests are welcome! 🤝

Quick demo

Clone the repository & run

npm install 
npm run init 
npm run demo 

Use in your project

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
    }
}

The client also supports base64 image uploading.

About

Firestore Data Provider for react-admin


Languages

Language:JavaScript 97.7%Language:HTML 2.3%