sidferreira / aor-firebase-client

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

Firebase Storage #10

Open Hosnidokht opened 7 years ago

Hosnidokht commented 7 years ago

According to the recommended approach to save files and images in firebase, it is necessary to save these files in storage first (e.x, ) and then add file URL to realtime database with the other data. it needs to implement in CREATE, UPDATE and DELETE.

sidferreira commented 7 years ago

Yes, this is something need to be worked on. I think this week I'll be able to work on it.

grahamlyus commented 7 years ago

@Hosnidokht @sidferreira

I have this working for single file per field, but it's quite opinionated and requires the next branch of AOR. I'll attach here for now instead of PR in case of other interest/discussion.

https://gist.github.com/grahamlyus/e6b0facf6a718a31449dec3ee77c8060