javascript - How and where to implement REST API with Firebase -


after research tutorial implementing rest apis firebase, find code snippets curl (or other libs) method calls. not find basics have call methods, how connect different things etc..

what need for:

i'm programming webapp ionic framework, html5 , javascript , needed store data in backend, choosed firebase since reviews pretty good.

what want do:

i need query (already existing) data in firebase variable have calculated in js file , return result same js file further calculations. preferably use python lib https://github.com/thisbejim/pyrebase recommended on firebase rest api tutorial page https://firebase.google.com/docs/database/rest/start since i've got pre-knowledge there.

my question:

where implement rest api python script ? have create .py file, include index.html, write methods in there , somehow call in js file ? literally have no idea that.

any kind of highly appreciated !

best regards, jule

if need have javascript read , write data firebase database don't need use rest api or implement in python.

instead should able use firebase javascript interface talk directly database javascript code. can started following instructions at

firebase: installation & setup in javascript


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -