Skip to content

Commit ba8c4f7

Browse files
author
Stephen McLean
committed
Initialize firebase.
1 parent 848931d commit ba8c4f7

File tree

5 files changed

+3068
-65
lines changed

5 files changed

+3068
-65
lines changed

.firebaserc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

database.rules.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"rules": {
3+
".read": "auth != null",
4+
".write": "auth != null"
5+
}
6+
}

firebase.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"database": {
3+
"rules": "database.rules.json"
4+
},
5+
"hosting": {
6+
"public": "build",
7+
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
8+
"rewrites": [
9+
{
10+
"source": "**",
11+
"destination": "/index.html"
12+
}
13+
]
14+
}
15+
}

0 commit comments

Comments
 (0)