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 ?

16th Jul 2017, 11:02 AM
Mohammed Elhafed Messini
Mohammed Elhafed Messini - avatar
1 ответ
+ 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 :/
16th Jul 2017, 11:52 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar