'Is the Firebase database for use on a normal HTML website? [closed]
I come from the iOS world and am familiar with Firebase, but now too to make a website with Firebase features e.g. data retrieval and account management, and would like to know if I can use Firebase for a normal website ?
I assume so, but would it be the best course of action ?
My needs are not too heavy at present, but in time user account could number in the thousands, with a lot of daily traffic.
I will need to learn HTML, but what else will I need to make a decent front end web experience these days ?
Solution 1:[1]
HTML (Hypertext Markup Language) is a markup language that will let you describe the structure of the content of your website. However it is not a programming language that can communicate with Firebase.
To use Firebase services from the browser (a "normal" webiste), you need to use javascript. Specifically you can use the Firebase SDK. Once configured, the SDK provides an interface to acces Firebase services, like the real time database.
It is important to note that a browser is a public client that cannot hold secrets. Therefore, if you want to perform actions that should not be directly available to your end users, you need to use the Admin SDK server-side. In this case you authenticate your server using a service account.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Araelath |
