How to make Firebase work with Java base

First of all, I would like to apologize if this question is abstract or unsuitable for this site. I really don't know where else to ask.

I have currently developed apps for iOS and Android. They save all their state in firebase, so everything is instantly stored in the Firebase Realtime database.

Before creating the user, I manually populate the real-time database with some data that is expected to be there so that the application can run, for example, configuration data for the user. When I "do" using an application, I view the data directly in the Firebase console.

Now I want the backend to do the work that I did manually. I want the backend to be able to populate the database in real time, and I want it to also be able to receive data from Firebase. I would like this to be done with the Java backend (Spring MVC, but this may not be critical information right now).

How can I do it? Googling didn't get me this far (java + backend + firebase basically tells me that "Firebase offers a backend for Android Java").

If this is not the place to post this post, then please suggest where I can post it.

Edit: I am aware of the SDK server. I rather refer to how to implement this in what will usually be a stateless solution, rather than how the methods in the server SDK are executed.

+5
source share
1 answer

Firebase has its own RestApi, you can use it in your api https://firebase.google.com/docs/database/rest/start

+5
source

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


All Articles