Anons79 Mini Shell

Directory : /home/aplikasiposinfo/www/astra.aplikasipos.info/laravel_backend/resources/views/
Upload File :
Current File : /home/aplikasiposinfo/www/astra.aplikasipos.info/laravel_backend/resources/views/firebase.blade.php

<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>


	<script src="https://www.gstatic.com/firebasejs/7.23.0/firebase-app.js"></script>

	  <!-- If you enabled Analytics in your project, add the Firebase SDK for Analytics -->
	  <script src="https://www.gstatic.com/firebasejs/7.23.0/firebase-analytics.js"></script>

	  <!-- Add Firebase products that you want to use -->
	  <script src="https://www.gstatic.com/firebasejs/7.23.0/firebase-auth.js"></script>
	  <script src="https://www.gstatic.com/firebasejs/7.23.0/firebase-firestore.js"></script>
	  <script src="https://www.gstatic.com/firebasejs/7.23.0/firebase-database.js"></script>

	<script>
	  // Your web app's Firebase configuration
	  // For Firebase JS SDK v7.20.0 and later, measurementId is optional
	  var firebaseConfig = {
	    apiKey: "AIzaSyAi3f8v-kNIwCxx_SYrT69NtdpHvLr3KaQ",
	    authDomain: "absen-driver-astra.firebaseapp.com",
	    databaseURL: "https://absen-driver-astra-default-rtdb.firebaseio.com",
	    projectId: "absen-driver-astra",
	    storageBucket: "absen-driver-astra.appspot.com",
	    messagingSenderId: "455408926095",
	    appId: "1:455408926095:web:4844eba14a6bbb1ad79ffa",
	    measurementId: "G-NKZL4SW64X"
	  };
	  // Initialize Firebase
	  firebase.initializeApp(firebaseConfig);
	  firebase.analytics();

	  	var starCountRef = firebase.database().ref('location');
		starCountRef.on('value', (snapshot) => {
		  const data = snapshot.val();
		  console.log(data);
		});
	</script>
</body>
</html>

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]