Browse Source

add firebase code

main
Colorful 3 weeks ago
parent
commit
883d8ccbaf
  1. 5
      .firebaserc
  2. 23
      apphosting.yaml
  3. 13
      firebase.json
  4. 8932
      package-lock.json
  5. 1
      package.json

5
.firebaserc

@ -0,0 +1,5 @@
{
"projects": {
"default": "react-project-78e04"
}
}

23
apphosting.yaml

@ -0,0 +1,23 @@
# Settings for Backend (on Cloud Run).
# See https://firebase.google.com/docs/app-hosting/configure#cloud-run
runConfig:
minInstances: 0
# maxInstances: 100
# concurrency: 80
# cpu: 1
# memoryMiB: 512
# Environment variables and secrets.
# env:
# Configure environment variables.
# See https://firebase.google.com/docs/app-hosting/configure#user-defined-environment
# - variable: MESSAGE
# value: Hello world!
# availability:
# - BUILD
# - RUNTIME
# Grant access to secrets in Cloud Secret Manager.
# See https://firebase.google.com/docs/app-hosting/configure#secret-parameters
# - variable: MY_SECRET
# secret: mySecretRef

13
firebase.json

@ -0,0 +1,13 @@
{
"apphosting": {
"backendId": "my-backend",
"rootDir": "/",
"ignore": [
"node_modules",
".git",
"firebase-debug.log",
"firebase-debug.*.log",
"functions"
]
}
}

8932
package-lock.json
File diff suppressed because it is too large
View File

1
package.json

@ -11,6 +11,7 @@
"dependencies": {
"axios": "^1.9.0",
"bootstrap": "^5.2.3",
"firebase-tools": "^14.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.56.4",

Loading…
Cancel
Save