Jump to content

Firebase Integration

Pending 2.1.9

Bit of a long s hot as I imagine there's likely a bit of heavy lifting to do.

Would it be possible to add Firebase Firestore Integration as an option for storing data?  I know there is the MySql option at the moment, but Firestore would be a nice feature too.  Saves hosting an SQL server etc, and means websites can do the fetching of data clientside securely

  • Like 1

Share this comment


Link to comment

Hi,

Are you aware of other plugins doing this?
It's not something I know about, or have seen before in plugins, but if it's possible and people use it I'd certainly take a look.

Share this comment


Link to comment
10 minutes ago, Steenamaroo said:

Hi,

Are you aware of other plugins doing this?
It's not something I know about, or have seen before in plugins, but if it's possible and people use it I'd certainly take a look.

I've not, and to be honest this is the only plugin that seems to collect all the stats.

I have experience with Firebase myself, but my C# knowledge is none existent.  

There appears to be an SDK here: https://googleapis.dev/dotnet/Google.Apis.Firestore.v1/latest/api/Google.Apis.Firestore.v1.html or it can be done using a REST API.

 

Quick functionality would be configuration for the relevant API keys etc, but also a collection name.  It's a NOSQL "database" so, should  in theory be possible to simple loop through the JSON storage file you're using, and then do an add/update data depending on if it already exists.  Document ID could be set to something unique for each entry.

Wiping the data after wipe should be as simple as deleting the collection.

Quick start reference: https://firebase.google.com/docs/firestore/quickstart#c

Edited by Evostance

Share this comment


Link to comment

Interesting. Thanks for the information!
I've got quite a lot on at the moment, but I'll definitely make a note and take a look at this some time soon.

Share this comment


Link to comment
437.9k

Downloads

Total number of downloads.

2.3k

Customers

Total customers served.

32.3k

Files Sold

Total number of files sold.

526.1k

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.