I
I
Igor Pavlenko2018-01-31 23:31:54
Angular
Igor Pavlenko, 2018-01-31 23:31:54

Angular Universal Firebase server-side render how to create an application so that it renders the application on the server side?

Please share your knowledge, is it possible to render an application on the server side using Firebase Authentication authorization and AngularFirestore data base?
I tried articles by Éverton Roberto Aule and Hamed Baatour and videos on youtube from the developers... I understand that the full version of Firebase does not support SSR and in this case you need to work with AngularFire-Lite? did you get it?
UPDATE: If you use render with regular Firebase then it throws an error "

ERROR { [Error: The XMLHttpRequest compatibility library was not found.]
  code: 'auth/internal-error',
  message: 'The XMLHttpRequest compatibility library was not found.' }
"
Thanks in advance to everyone who responds!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
NosovK, 2018-02-01
@NosovK

Without firebase-lite, with a regular firebase you can, without angularfire and other body kits. But alas, not with realtimedatabase, but with the new FireStore it will only work.
https://medium.com/netscape/firebase-angular-unive... We
did some time ago for https://angularcommerce.io but in the end we decided to make a couchDB version for now, because the new firestore is globally no better in terms of multi-key searches.
The article has a link to an example page with rendering on firebase.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question