Is there a way to run generic applications in Firebase Hosting?

I recently deployed my Angular 2 Firebase hosting application and really enjoy this setup so far, especially about how easy it is to deploy using CI.

I'm currently considering adding universal server rendering support for my application, but I'm not sure if this is handled by Firebase Hosting, as it says it is only a static file.

However, what made me think that this might be a potential opportunity that I am missing is that Firebase offers support for single-page applications, so I decided to ask.

If there is no support for such applications, can we expect it in the future?

+4
source share
4 answers

This is currently not possible. However, since Angular 2, Google, and Firebase go hand in hand, I would say that this is just a matter of time.

In the meantime, you can create a Node.js server where you install Angular Universal and connect it to Firebase using the Firebase Node SDK.

Then you just chat with this Node-backend from your Angular 2 application.

+5
source

angularfire2, . - , "", . - ,

0

David East , Google Cloud Functions Angular Universal : https://www.youtube.com/watch?v=R3v8EcYzf_M

firebase. 23:30.

0

- - this.

Rendertron - , . . .

0

Source: https://habr.com/ru/post/1657728/


All Articles