-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (37 loc) · 1.25 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="styles.css" rel="stylesheet">
<title>Document</title>
<script src="https://www.gstatic.com/firebasejs/8.6.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.6.1/firebase-firestore.js"></script>
</head>
<body>
<h1>Cloud cafe<s/h1>
<div class="content">
<form id="add-cafe-form"></form>
<ul id="cafe-list"></ul>
</div>
<script>
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
var firebaseConfig = {
apiKey: "AIzaSyA9mqPfW6yT2m-2XEeAhUz9B24VZf-ny70",
authDomain: "spelen-cafe.firebaseapp.com",
projectId: "spelen-cafe",
storageBucket: "spelen-cafe.appspot.com",
messagingSenderId: "1057684102353",
appId: "1:1057684102353:web:f447eb10134644a77239f0",
measurementId: "G-3PWMTEPR00"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
const db= firebase.firestore();
db.settings({timestampsInSnapshots:true})
</script>
<script src="app.js"></script>
</body>
</html>