new Firebase(‘https://vivid-torch-691.firebaseio.com/'); myDataRef.child(‘foo’).set(‘bar’); myDataRef.on('child_changed', function(snapshot) { var value = snapshot.val(); console.log(value); }); </script> </body> リアルタイムデータベース
this URL on any device to log in: https://www.firebase.com/login/confirm.html?ticket=XXXXX Waiting for authentication... ✔ Success! Logged in as [email protected] $ firebase init ? What Firebase do you want to use? vivid-torch-691 ? What directory should be the public root? public ✔ Public directory public has been created Firebase initialized, configuration written to firebase.json $ firebase deploy ホスティング