0

We want to use Firebase Realtime Database, Firebase Storage, and Firebase Server SDK in a project.

How can we expose this project using custom endpoints which can be used in Android, ios, and web?

Edit

After further research I understand that it might not be a good idea to put Firebase behind an endpoint, because that architecture defeats the whole philosophy of Firebase.

But now the issue is that there is no default integration between Firebase Storage and Firebase Realtime Database. Is there a way for server side integration between the two, and the app engine for any custom server side work?

Chebyr
  • 2,171
  • 1
  • 20
  • 30
  • 2
    I believe I asked a [similar question](http://stackoverflow.com/questions/37083824/adding-custom-routes-inside-a-firebase-instance) previously. There's a common architecture that was suggested to use Firebase between the server and client code. – adjuremods Oct 21 '16 at 07:07
  • The architecture suggested in the blog post is of the year 2013 after which several changes have been made in Firebase including integration with Google Cloud platform. – Chebyr Oct 21 '16 at 10:28
  • 1
    I found a more recent architectural guidelines https://cloud.google.com/solutions/mobile/mobile-app-backend-services#firebase – Chebyr Oct 21 '16 at 10:29

1 Answers1

2

There are quite a few common ways of having a project that uses Firebase for its back-end, but that also has custom back-end code running.

Two of the most common ones:

diagram of Firebase Database between front-end and back-end

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
  • While this answers the original question, further investigation is required for the ideal architecture. – Chebyr Oct 22 '16 at 13:18