Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mbrsagor/jsfirebase
In this project basically javascript simple operation firestore cloud messaging.
https://github.com/mbrsagor/jsfirebase
firebase firebase-realtime-database javascrpt
Last synced: 1 day ago
JSON representation
In this project basically javascript simple operation firestore cloud messaging.
- Host: GitHub
- URL: https://github.com/mbrsagor/jsfirebase
- Owner: mbrsagor
- Created: 2022-06-23T19:29:45.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-03T09:52:29.000Z (7 months ago)
- Last Synced: 2024-05-03T14:20:04.084Z (7 months ago)
- Topics: firebase, firebase-realtime-database, javascrpt
- Language: HTML
- Homepage: https://github.com/mbrsagor/fms
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.Md
Awesome Lists containing this project
README
# Realtime Database Firebase
> In this project basically javascript simple operation firestore cloud realtime messaging.
- Below the simple example for `get` & `set` data
```javascript
// Set data
function send_data() {
database.ref('data').set({
message: 'Bozlur Rosid Sagor'
});
}// Get data
function get_data() {
database.ref('data').once('value', function(snapshot) {
var data = snapshot.val();
console.log(data.message);
});
}// Run
get_data();
send_data();
```