Deploy to new Firestore Database

This commit is contained in:
Ray 2023-12-27 12:29:11 +00:00 committed by GitHub
parent 33d7a91b80
commit 2e97d0c803
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 69 additions and 7 deletions

View File

@ -0,0 +1,14 @@
asset-manifest.json,1703679305360,22ff8f6461cda5844ec8a82bb7bc9ff2c055d8fbc25156a77edd9031e5868b21
index.html,1703679305360,3d3b18dab96628c021ed1fe983bc47bc3875e264b9a568a631480c3a59d20105
static/js/787.a6d1ab23.chunk.js,1703679305380,33afc04de61c04377ef966764aaf21b1bba6bbfc1300d67bef6ecc8d85355277
static/js/787.a6d1ab23.chunk.js.map,1703679305380,788da43aa9c45554445315f92cd26ae1936200ab5f1f9000bb14b9153505aa1a
static/js/main.ca588c7a.js.LICENSE.txt,1703679305376,64f315b68253621057cfb73e72a5e63921d483c76ab0b67042ffe0c1294b2cd1
favicon.ico,1703679286732,fc26b72d1f6d47474d8993a667b2af803ede41c9996d0f69e62ed6e415d7fed0
logo192.png,1703679286732,50bd60c6fefdd7de57fb652cf717e33c712106ffe0a32da5f75a12bf22cecbc0
robots.txt,1703679286736,2544ca049f223a42bff01f72ad930a5edba75bbb7199d0f8430a02ff5aca16ec
manifest.json,1703679286732,c12dd51ed2c8ac94acf3c25d1f0c541d667c90c8557ac43cb42d0a6df086bd7f
logo512.png,1703679286732,9ab6cb941e493973baf9755bd3fc76988762e6b514d5bc365aeaccefa0de034f
static/css/main.62d3213f.css,1703679305376,af23472e44deb35bdfeb0b7390ce8efd2acc86442b9d839559906304abfd475b
static/js/main.ca588c7a.js,1703679305376,f76a7fda1765e5c0afd66e714347cc20b84e88b71c9ddec344241a2a1cd72842
static/css/main.62d3213f.css.map,1703679305376,6e4c33d98b511b92556a7c828f4711cc1456bbcd65f87796e58b2b47a51a30d2
static/js/main.ca588c7a.js.map,1703679305380,6ad75b928732d9c8fed52d271224b08e9992360fb5c5ce3e69b11a12f3bc4e3f

5
.firebaserc Normal file
View File

@ -0,0 +1,5 @@
{
"projects": {
"default": "ray-ray-s-word-bingo"
}
}

20
firebase.json Normal file
View File

@ -0,0 +1,20 @@
{
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
},
"hosting": {
"public": "build",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}

4
firestore.indexes.json Normal file
View File

@ -0,0 +1,4 @@
{
"indexes": [],
"fieldOverrides": []
}

19
firestore.rules Normal file
View File

@ -0,0 +1,19 @@
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
// This rule allows anyone with your Firestore database reference to view, edit,
// and delete all data in your Firestore database. It is useful for getting
// started, but it is configured to expire after 30 days because it
// leaves your app open to attackers. At that time, all client
// requests to your Firestore database will be denied.
//
// Make sure to write security rules for your app before that time, or else
// all client requests to your Firestore database will be denied until you Update
// your rules
match /{document=**} {
allow read, write: if request.time < timestamp.date(2024, 1, 26);
}
}
}

View File

@ -24,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL. work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`. Learn how to configure a non-root public URL by running `npm run build`.
--> -->
<title>Ray Ray's Bingo</title> <title>Ray Ray's Word Bingo</title>
</head> </head>
<body> <body>
<noscript>You need to enable JavaScript to run this app.</noscript> <noscript>You need to enable JavaScript to run this app.</noscript>

View File

@ -1,8 +1,8 @@
export const firebaseConfig = { export const firebaseConfig = {
apiKey: "AIzaSyDOqy82gGzhHpJhl7wJ59RZqEXgSs4PLqA", apiKey: "AIzaSyAz4-TLqma6EBhQBDaacJZCJ5W6KRygzk8",
authDomain: "rayraysbingo.firebaseapp.com", authDomain: "ray-ray-s-word-bingo.firebaseapp.com",
projectId: "rayraysbingo", projectId: "ray-ray-s-word-bingo",
storageBucket: "rayraysbingo.appspot.com", storageBucket: "ray-ray-s-word-bingo.appspot.com",
messagingSenderId: "201595566813", messagingSenderId: "1065410299147",
appId: "1:201595566813:web:38d77605d5b0c43253b934" appId: "1:1065410299147:web:f1b066864faa0298bf0e0e"
}; };