Skip to content

Configuring Firebase integration

Pedro Matheus edited this page Sep 25, 2018 · 4 revisions

Go to firebase.com > create account/login > Add Project;
After creating your project, to get the configuration, click on '</>' button or click on the gear then > Your apps > Add Firebase to your web app > then copy everything that is inside var config = {... ;

Open the file qmethod.js located at src folder, then find the line with var = config...

var config = {
 
};

Then paste and it should be like this:

var config = {
  apiKey: "your api key",
  authDomain: "your auth domain",
  databaseURL: "your db url",
  projectId: "your project id",
  storageBucket: "your store bucket",
  messagingSenderId: "your msg sender id"
};

Finally, click at Develop > Database > Create database > start in test mode > enable
Warning! : test mode will start with rules that allows anyone to read from and write to your database. For more information on how to configure rules, head to : https://firebase.google.com/docs/database/security/quickstart

Clone this wiki locally