Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

137
Views
Vue.js my web app can't connect to firebase database

I have tried to write a web app but I have a problem connecting it to the database. can someone help me? this is my code.

import firebase from 'firebase/compat/app';
import 'firebase/compat/auth';
import 'firebase/compat/firestore';



import Movie from '../components/Movie.vue'
import Seat from '../components/Seat.vue'


const config = {
  apiKey: "AIzaSyBbSgMfe474LIuWTuMvqoF6A8n7PtRF-ac",
  authDomain: "vuetest-76268.firebaseapp.com",
  databaseURL: "https://vuetest-76268-default-rtdb.firebaseio.com",
  projectId: "vuetest-76268",
  storageBucket: "vuetest-76268.appspot.com",
  messagingSenderId: "886558080944",
  appId: "1:886558080944:web:775edb745e8c99dee16075"
};

firebase.initializeApp(config)

var db = firebase.database()
var dbRef = db.ref('/')
dbRef.set('xxx')

i think i do something wrong. how can i set 'xxx' in my firebase database

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!