sidferreira / aor-firebase-client

Firebase client for Admin on Rest
MIT License
57 stars 29 forks source link

Firestore storage #25

Closed shrizalz closed 6 years ago

shrizalz commented 7 years ago

Is any way this can be used to connect with firestore instead of realtime database?

sidferreira commented 7 years ago

Will work on that mid november or december.

Em 20 de out de 2017 4:09 AM, "Shahrizal Zoljefry" notifications@github.com escreveu:

Is any way this can be used to connect with firestore instead of realtime database?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sidferreira/aor-firebase-client/issues/25, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIw_00LMRHfrkQx4mc8ODTvPzoq6rgjks5suDkOgaJpZM4QAOYs .

shrizalz commented 7 years ago

Thanks, Looking forward :)

priezz commented 6 years ago

@sidferreira, hi there! I have implemented Firestore client, based on your upload branch. However, this is done for my own needs and I currently have no time for documentation. Do you want me to share the code?

P.S. My implementation has different upload function (with customizable saving paths, no dimensions savings) and support for firestore subcollections to use them transparently with AOR.

sidferreira commented 6 years ago

Yes! Something is better than nothing!!!

priezz commented 6 years ago

Here is the gist.

Edit: This is a bit less than full rewrite - Typescript, async/await instead of Promises, changed functions arguments sets.

priezz commented 6 years ago

@sidferreira, I have a lot of updates (page content reactivity, better schema configuration, ...) since gist publication and going to have more. So, when you are ready to look at the code, please write here, I will update the gist.