From dbd6778c69cf6bd14b5bca978de049942713e4cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E6=99=BA=E5=BC=BA?= Date: Mon, 4 Nov 2024 05:41:09 +0800 Subject: [PATCH] update the basic logic components --- .firebase/hosting.ZGlzdA.cache | 9 ---- .firebase/hosting.cHVibGlj.cache | 6 --- firebase-debug.log | 70 ------------------------- firebase.json | 10 ---- public/404.html | 33 ------------ public/index.html | 89 -------------------------------- 6 files changed, 217 deletions(-) delete mode 100644 .firebase/hosting.ZGlzdA.cache delete mode 100644 .firebase/hosting.cHVibGlj.cache delete mode 100644 firebase-debug.log delete mode 100644 firebase.json delete mode 100644 public/404.html delete mode 100644 public/index.html diff --git a/.firebase/hosting.ZGlzdA.cache b/.firebase/hosting.ZGlzdA.cache deleted file mode 100644 index 2f16560..0000000 --- a/.firebase/hosting.ZGlzdA.cache +++ /dev/null @@ -1,9 +0,0 @@ -app.js,1730660592586,8ff18b597538318d1caa89538210008e90b03dd3fbd5303b4706e56370366da2 -index.js,1730660592588,427cfab7292868727cec53d9893929a1fa75f629f4f3153dbfa8f4519e1309df -controllers/get_data.js,1730660592579,5d4832484f7e112f3952bba9e772636fc1746182e3ba25bd6551b8d29e405985 -models/aed_model.js,1730660592573,68cf86b715286eced4e225cf0ba46b7de3694f444af8bd4a1fcd318244bd2c27 -models/contacts_model.js,1730660592588,68cf86b715286eced4e225cf0ba46b7de3694f444af8bd4a1fcd318244bd2c27 -routes/aed.js,1730660592582,0e66072f69d97fb2e938a63db502b34787b72955f33c1ab215cb57548ae06e1f -routes/contacts.js,1730660592589,13a28b9771ea5051028dc441fd3adf7883e7b49a4b91ae6b7111d56af5de166a -routes/hospital.js,1730660592589,13a28b9771ea5051028dc441fd3adf7883e7b49a4b91ae6b7111d56af5de166a -routes/saint_john.js,1730660592591,13a28b9771ea5051028dc441fd3adf7883e7b49a4b91ae6b7111d56af5de166a diff --git a/.firebase/hosting.cHVibGlj.cache b/.firebase/hosting.cHVibGlj.cache deleted file mode 100644 index 1bbede7..0000000 --- a/.firebase/hosting.cHVibGlj.cache +++ /dev/null @@ -1,6 +0,0 @@ -index.ejs,1730658422244,fa9196d8a38de6b2cd0cdc533e499547a49730c1f7d0f15637cc1ed83384c496 -assets/screenshot.png,1730637758536,41694383f04bacf49d7a0db1fd8781b238bb23b37fdc7f5d8b8ed79863ee80e5 -pages/about.ejs,1730637853184,f1b651238a58fe290baec6c5e32f3bdb1943dd2bd582f02569231f7a757c7837 -pages/aed.ejs,1730657809715,b803e3ff8835359673d149db3fd78ab84e933c55798d31504d255ef3814e65f3 -pages/contact.ejs,1730638239869,9ff8b74e2ec607dda7b8c4ae5a448e6ef7a680c5c7e1d76edd30705ed40b5437 -pages/how-to-use-aed.ejs,1730658516106,fe33da35b6f8df106b700bf3be424a4a376e04913f8dbcc612d261cac43e0b8e diff --git a/firebase-debug.log b/firebase-debug.log deleted file mode 100644 index 86bfee4..0000000 --- a/firebase-debug.log +++ /dev/null @@ -1,70 +0,0 @@ -[debug] [2024-11-03T21:25:50.551Z] ---------------------------------------------------------------------- -[debug] [2024-11-03T21:25:50.553Z] Command: /usr/local/bin/firebase /Users/johnmelodyme/.cache/firebase/tools/lib/node_modules/firebase-tools/lib/bin/firebase init functions -[debug] [2024-11-03T21:25:50.554Z] CLI Version: 11.24.1 -[debug] [2024-11-03T21:25:50.554Z] Platform: darwin -[debug] [2024-11-03T21:25:50.554Z] Node Version: v16.16.0 -[debug] [2024-11-03T21:25:50.564Z] Time: Mon Nov 04 2024 05:25:50 GMT+0800 (Malaysia Time) -[debug] [2024-11-03T21:25:50.565Z] ---------------------------------------------------------------------- -[debug] -[debug] [2024-11-03T21:25:50.773Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"] -[debug] [2024-11-03T21:25:50.774Z] > authorizing via signed-in user (johnmelodyme@gmail.com) -[info] - ######## #### ######## ######## ######## ### ###### ######## - ## ## ## ## ## ## ## ## ## ## ## - ###### ## ######## ###### ######## ######### ###### ###### - ## ## ## ## ## ## ## ## ## ## ## - ## #### ## ## ######## ######## ## ## ###### ######## - -You're about to initialize a Firebase project in this directory: - - /Users/johnmelodyme/Documents/上饶满星科技有限公司/AEDPenang - -Before we get started, keep in mind: - - * You are initializing within an existing Firebase project directory - -[info] -=== Project Setup -[info] -[info] First, let's associate this project directory with a Firebase project. -[info] You can create multiple project aliases by running firebase use --add, -[info] but for now we'll just set up a default project. -[info] -[debug] [2024-11-03T21:25:50.787Z] Using project from CLI flag: aedpenang-ce03e -[debug] [2024-11-03T21:25:50.792Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects/aedpenang-ce03e [none] -[debug] [2024-11-03T21:25:53.356Z] <<< [apiv2][status] GET https://firebase.googleapis.com/v1beta1/projects/aedpenang-ce03e 200 -[debug] [2024-11-03T21:25:53.360Z] <<< [apiv2][body] GET https://firebase.googleapis.com/v1beta1/projects/aedpenang-ce03e {"projectId":"aedpenang-ce03e","projectNumber":"456812249106","displayName":"AEDPenang","name":"projects/aedpenang-ce03e","resources":{"hostingSite":"aedpenang-ce03e"},"state":"ACTIVE","etag":"1_d4254a3e-f823-4043-b60b-c477fa425abd"} -[info] i Using project aedpenang-ce03e (AEDPenang) -[info] -=== Functions Setup -[debug] [2024-11-03T21:25:53.381Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"] -[debug] [2024-11-03T21:25:53.383Z] > authorizing via signed-in user (johnmelodyme@gmail.com) -[debug] [2024-11-03T21:25:53.385Z] [iam] checking project aedpenang-ce03e for permissions ["firebase.projects.get"] -[debug] [2024-11-03T21:25:53.387Z] >>> [apiv2][query] POST https://cloudresourcemanager.googleapis.com/v1/projects/aedpenang-ce03e:testIamPermissions [none] -[debug] [2024-11-03T21:25:53.387Z] >>> [apiv2][(partial)header] POST https://cloudresourcemanager.googleapis.com/v1/projects/aedpenang-ce03e:testIamPermissions x-goog-quota-user=projects/aedpenang-ce03e -[debug] [2024-11-03T21:25:53.387Z] >>> [apiv2][body] POST https://cloudresourcemanager.googleapis.com/v1/projects/aedpenang-ce03e:testIamPermissions {"permissions":["firebase.projects.get"]} -[debug] [2024-11-03T21:26:00.384Z] <<< [apiv2][status] POST https://cloudresourcemanager.googleapis.com/v1/projects/aedpenang-ce03e:testIamPermissions 200 -[debug] [2024-11-03T21:26:00.388Z] <<< [apiv2][body] POST https://cloudresourcemanager.googleapis.com/v1/projects/aedpenang-ce03e:testIamPermissions {"permissions":["firebase.projects.get"]} -[debug] [2024-11-03T21:26:00.391Z] >>> [apiv2][query] GET https://serviceusage.googleapis.com/v1/projects/aedpenang-ce03e/services/cloudfunctions.googleapis.com [none] -[debug] [2024-11-03T21:26:00.391Z] >>> [apiv2][(partial)header] GET https://serviceusage.googleapis.com/v1/projects/aedpenang-ce03e/services/cloudfunctions.googleapis.com x-goog-quota-user=projects/aedpenang-ce03e -[debug] [2024-11-03T21:26:00.397Z] >>> [apiv2][query] GET https://serviceusage.googleapis.com/v1/projects/aedpenang-ce03e/services/runtimeconfig.googleapis.com [none] -[debug] [2024-11-03T21:26:00.397Z] >>> [apiv2][(partial)header] GET https://serviceusage.googleapis.com/v1/projects/aedpenang-ce03e/services/runtimeconfig.googleapis.com x-goog-quota-user=projects/aedpenang-ce03e -[debug] [2024-11-03T21:26:01.984Z] <<< [apiv2][status] GET https://serviceusage.googleapis.com/v1/projects/aedpenang-ce03e/services/runtimeconfig.googleapis.com 200 -[debug] [2024-11-03T21:26:01.986Z] <<< [apiv2][body] GET https://serviceusage.googleapis.com/v1/projects/aedpenang-ce03e/services/runtimeconfig.googleapis.com [omitted] -[debug] [2024-11-03T21:26:03.874Z] <<< [apiv2][status] GET https://serviceusage.googleapis.com/v1/projects/aedpenang-ce03e/services/cloudfunctions.googleapis.com 200 -[debug] [2024-11-03T21:26:03.875Z] <<< [apiv2][body] GET https://serviceusage.googleapis.com/v1/projects/aedpenang-ce03e/services/cloudfunctions.googleapis.com [omitted] -[info] Let's create a new codebase for your functions. -[info] A directory corresponding to the codebase will be created in your project -[info] with sample code pre-configured. - -[info] See https://firebase.google.com/docs/functions/organize-functions for -[info] more information on organizing your functions using codebases. - -[info] Functions can be deployed with firebase deploy. - -[info] ✔ Wrote functions/package.json -[info] ✔ Wrote functions/.eslintrc.js -[info] ✔ Wrote functions/tsconfig.json -[info] ✔ Wrote functions/tsconfig.dev.json -[info] ✔ Wrote functions/src/index.ts -[info] ✔ Wrote functions/.gitignore diff --git a/firebase.json b/firebase.json deleted file mode 100644 index e782939..0000000 --- a/firebase.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "hosting": { - "public": "public", - "ignore": [ - "firebase.json", - "**/.*", - "**/node_modules/**" - ] - } -} diff --git a/public/404.html b/public/404.html deleted file mode 100644 index 829eda8..0000000 --- a/public/404.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - Page Not Found - - - - -
-

404

-

Page Not Found

-

The specified file was not found on this website. Please check the URL for mistakes and try again.

-

Why am I seeing this?

-

This page was generated by the Firebase Command-Line Interface. To modify it, edit the 404.html file in your project's configured public directory.

-
- - diff --git a/public/index.html b/public/index.html deleted file mode 100644 index dcff4a1..0000000 --- a/public/index.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - Welcome to Firebase Hosting - - - - - - - - - - - - - - - - - - - -
-

Welcome

-

Firebase Hosting Setup Complete

-

You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!

- Open Hosting Documentation -
-

Firebase SDK Loading…

- - - -