+ 11

Firebase read and write

How to use js to initial, update and read a variable through Firebase database as online storage?

9th Apr 2017, 7:09 AM
Calviղ
Calviղ - avatar
14 Answers
+ 9
i will try to make a small CRUD code in the playground hang tight xD in the meanwhile, here's the scoreboard script i made a while back, if you look into it, you could find some of the things you are lokking for the script https://cdn.rawgit.com/bureyburey/Scoreboard-Module/master/scoreboard.js the code on playground https://code.sololearn.com/Wb3UALD0atIG/?ref=app
9th Apr 2017, 7:31 AM
Burey
Burey - avatar
+ 7
@Calvin i think i am done it's far from perfect xD but implements all of CRUD operations you can create a new post you can update it (must have same name in the By: input box) delete post (same as above, must have same name in By: input box) and obviously reading messages
9th Apr 2017, 10:40 AM
Burey
Burey - avatar
+ 6
which firebase version? 2.x or 3.x
9th Apr 2017, 7:20 AM
Burey
Burey - avatar
+ 6
and by online storage you mean the database service or the file storage service?
9th Apr 2017, 7:23 AM
Burey
Burey - avatar
+ 6
slowly the code is forming up i am trying to put as many comments as possible https://code.sololearn.com/WtFXsv7tdPW0/?ref=app as of now only create/read is available
9th Apr 2017, 8:45 AM
Burey
Burey - avatar
+ 6
leave a message in the example if you have any queations :)
9th Apr 2017, 11:55 AM
Burey
Burey - avatar
+ 5
google self practice trial and error there really isn't anything special to it
2nd Mar 2018, 7:03 PM
Burey
Burey - avatar
+ 2
Sure, I will your code later..
9th Apr 2017, 12:04 PM
Calviղ
Calviղ - avatar
+ 1
@burey latest version.
9th Apr 2017, 7:21 AM
Calviղ
Calviղ - avatar
+ 1
@Burey Thanks again :)
9th Apr 2017, 11:54 AM
Calviղ
Calviղ - avatar
0
@Burey as mentioned in the question, I need value store through Firebase database.
9th Apr 2017, 7:31 AM
Calviղ
Calviղ - avatar
0
Thank you @Burey. Its really help.
9th Apr 2017, 8:14 AM
Calviղ
Calviղ - avatar
0
burey can you pls say where you learned to use firebase?
2nd Mar 2018, 6:43 PM
Daimondweter
Daimondweter - avatar
0
ok thank you!
2nd Mar 2018, 9:48 PM
Daimondweter
Daimondweter - avatar