Init firebase

This commit is contained in:
Callum Gilchrist
2022-10-01 12:38:27 +01:00
parent 62d1045a3a
commit b047798895
11 changed files with 2131 additions and 0 deletions

58
firebase.json Normal file
View File

@@ -0,0 +1,58 @@
{
"database": {
"rules": "database.rules.json"
},
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
},
"functions": [
{
"source": "functions",
"codebase": "default",
"ignore": [
"node_modules",
".git",
"firebase-debug.log",
"firebase-debug.*.log"
]
}
],
"hosting": {
"public": "build",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
},
"emulators": {
"auth": {
"port": 9099
},
"functions": {
"port": 5001
},
"firestore": {
"port": 8080
},
"database": {
"port": 9000
},
"hosting": {
"port": 5000
},
"eventarc": {
"port": 9299
},
"ui": {
"enabled": true
}
}
}