aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKumar Priyansh <[email protected]>2019-05-31 16:55:34 +0700
committerKumar Priyansh <[email protected]>2019-05-31 16:55:34 +0700
commitc2be1c94a41cdce6dda9a71c2ed966ee8f00b47c (patch)
tree8c879a167e587cdf8390f519eb82149aeb9d6779
parent6801e13772600c7b0a40800412349b9e75e83c85 (diff)
downloadfirebase-ecommerce-c2be1c94a41cdce6dda9a71c2ed966ee8f00b47c.tar.xz
firebase-ecommerce-c2be1c94a41cdce6dda9a71c2ed966ee8f00b47c.zip
Firebase Config Added
-rw-r--r--index.html1
-rw-r--r--shared/firebaseConfig.js11
-rw-r--r--signup/index.html1
3 files changed, 13 insertions, 0 deletions
diff --git a/index.html b/index.html
index 0fed188..50770e4 100644
--- a/index.html
+++ b/index.html
@@ -13,5 +13,6 @@
<button id="login">Login</button><br><br>
<a href="signup">Not a user? Signup Now!</a>
<script src="shared/jquery.js"></script>
+ <script src="https://www.gstatic.com/firebasejs/6.1.0/firebase-app.js"></script>
</body>
</html> \ No newline at end of file
diff --git a/shared/firebaseConfig.js b/shared/firebaseConfig.js
new file mode 100644
index 0000000..a5d884c
--- /dev/null
+++ b/shared/firebaseConfig.js
@@ -0,0 +1,11 @@
+var firebaseConfig = {
+ apiKey: "AIzaSyB268bKD89cJROouDrZv-Jrih8B7H6Rq5c",
+ authDomain: "luciferecommerce.firebaseapp.com",
+ databaseURL: "https://luciferecommerce.firebaseio.com",
+ projectId: "luciferecommerce",
+ storageBucket: "luciferecommerce.appspot.com",
+ messagingSenderId: "410863129095",
+ appId: "1:410863129095:web:da1cf3c361723a7a"
+ };
+ // Initialize Firebase
+ firebase.initializeApp(firebaseConfig); \ No newline at end of file
diff --git a/signup/index.html b/signup/index.html
index 7453247..2d712ed 100644
--- a/signup/index.html
+++ b/signup/index.html
@@ -13,5 +13,6 @@
<button id="login">Signup</button><br><br>
<a href="../">Already a user? Login Now!</a>
<script src="../shared/jquery.js"></script>
+ <script src="https://www.gstatic.com/firebasejs/6.1.0/firebase-app.js"></script>
</body>
</html> \ No newline at end of file