0
How to Convert Mysql to firebase ?
hello I have this code : $C['DB_HOST'] = "localhost"; $C['DB_USER'] = "database user"; $C['DB_PASS'] = "database password"; $C['DB_NAME'] = "database name"; how to add firebase settings to this code ?
1 Odpowiedź
+ 5
js:
var config = {
apiKey: "<API_KEY>",
authDomain: "<PROJECT_ID>.firebaseapp.com",
databaseURL: "https://<DATABASE_NAME>.firebaseio.com",
storageBucket: "<BUCKET>.appspot.com",
messagingSenderId: "<SENDER_ID>",
};
firebase.initializeApp(config);
So I think to install it would be....
your host url into your firebase url Or something?
But I can bet that you can't convert Sql to firebase
So....Do that by your manual :/