Skip to content

Latest commit

 

History

History
38 lines (19 loc) · 1.11 KB

File metadata and controls

38 lines (19 loc) · 1.11 KB

Firebase-ALT-V

This script is a template for connecting to firebase with the simplest functions

This script is a template for connecting to Firebase

This database can be used as a test, and if you have money, as the main one Here are the standard functions that are in this template

This database is good because it is convenient to load objects, arrays, easily update data and get them back.

There is also the possibility of "listening" to documents.


To connect the key.json you need to register on the firebase website https://firebase.google.com, and then get your private key in the settings (see the screenshot below).

Alt text for your video



  • addDocument - Creates a new document. Example: player profile.
  • updateDocument - Updates the document. For example, when buying a product in a store.
  • getAllDocuments - Get all the documents.
  • getDocument - Get a specific document.
  • deleteDocument - Delete a document.

Alt text for your video