add firebase login and offering to the client

This commit is contained in:
CoolElectronics 2023-08-12 11:44:46 -04:00
parent d1bef00d93
commit 7315350858
No known key found for this signature in database
GPG key ID: F63593D168636C50
4 changed files with 41 additions and 70 deletions

View file

@ -1,6 +1,7 @@
import "../firebase-config";
import { getDatabase, ref, onValue, set } from "firebase/database";
const db = getDatabase();
console.log(db);
let reff = ref(db, "/peers/demo");