0

I want to save same values on firebase and read those values in my web app. I have my own database (mssql) and I don't want to use firebase database.

For example, I want to save those values on firebase:

actionText = "test"

btnConfirmText = "Aprrove"

btnConfirmColor = "#fffff"

And on my website read those values in javascript

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
tokenaizer
  • 208
  • 1
  • 5
  • 17
  • You can use [Firebase Remote Config](https://firebase.google.com/docs/remote-config/use-config-rest) if you need to do A/B testing of these values. If this never changes or is always in sync, you can use [Firebase hosting](https://firebase.google.com/docs/hosting/) and just serve as `application/json`. – James Poag Aug 26 '18 at 13:42
  • @JamesPoag: Firebase Remote Config doesn't have a client-side API for reading the values into the client. – Frank van Puffelen Aug 26 '18 at 14:15
  • 1
    @tokenaizer: where **do** you want to store these values? Saying "in Firebase, but not in the database" is rather broad. If you're looking for what options there are to store data in Firebase from a web client, then have a look at https://stackoverflow.com/questions/37482907/firebase-differences-between-realtime-database-and-file-storage – Frank van Puffelen Aug 26 '18 at 14:17
  • There is REST API, which I thought is what I linked to?? It should return a json object... – James Poag Aug 26 '18 at 14:53
  • Elaborating on Frank's comment, for what do you want to use Firebase for? Only for the hosting? For the authentication? For the Cloud Functions? Or maybe for Firestore, which IS one of the NoSQL DBs of the Firebase platform. If you have your own DB (MS SQL, as you explain), what is your aim by using Firebase? – Renaud Tarnec Aug 26 '18 at 15:14
  • I think Remote Config will be the right option for me because it's integrate with analytics but i don't know if it support client-side api. – tokenaizer Aug 27 '18 at 06:41

0 Answers0