Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mokamv committed Jun 11, 2024
1 parent 64de0e3 commit 5cebe80
Show file tree
Hide file tree
Showing 174 changed files with 93,331 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .firebase/hosting.cHVibGlj.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
404.html,1715813689003,b6abfbdc894d37c260154e281499dc6415bb6ad76b32f01ef94dee93aa897ac4
contact.html,1716148301977,79716ff932d9eadf8f40f6dde7626f8a390fff53b61dcd591ca2446b0b732d3a
directions.html,1716148527230,9151315b86ead0a3f413007005ebef9f9f090fd48edd5414c417b8917811f00d
ikkeibruk.html,1716197058403,a6070a9525aaba353bc2f7855f2ebdc5cc9d2ed7e45e8ed447d51f5870d5e466
index.html,1716149744449,133a559aea5073398cce027e9d6d287bde9e93ecd354c75f9c3e46dd2ad73c88
css/directions.css,1716148224138,57ed04d8ec6946921f02834d55e48ff8bc6a10566fd59ca66bfe21a15693cf2f
css/index.css,1716148636035,1055fd7fcc49ea8586d13195e9769e7b65d49a2f70ec56dabb39fa2f0c431ddf
media/etterkl9.jpg,1716147000891,9a4f2c54dee84dd70c46f662f82643fcf94e69d978942fe208e70569aff9f0f0
media/forkl9.jpg,1716146515334,27da2b7e7866853011f0a13fb65e569d826cab9830e4c77950119b7b512003e0
media/logo.png,1715281714069,960b70647aee6ba888cb8bfde3532bde3e87c75ccae0eda23d2c490baca0cd70
media/lungelege-saeed-vahedi.webp,1714916879048,54dbbee4745c05ba5a481e08b778dd97a251aca36839fe24611936accdc26a63
media/parkeringinngang.jpg,1716146294230,474ca4186c5206d3bd05a169664fc521f04b037046b12219d62ade47d567c44f
20 changes: 20 additions & 0 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on merge
'on':
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_MEDICALCONSULTING_2D9D8 }}'
channelId: live
projectId: medicalconsulting-2d9d8
21 changes: 21 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on PR
'on': pull_request
permissions:
checks: write
contents: read
pull-requests: write
jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_MEDICALCONSULTING_2D9D8 }}'
projectId: medicalconsulting-2d9d8
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
node_modules/
.DS_Store
.DS_Store

# Ignore Firebase configuration files
firebase.json
.firebaserc
firebase-debug.log
firestore.rules
firestore.indexes.json
storage.rules
```
52 changes: 52 additions & 0 deletions firestore-debug.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
Jun 07, 2024 2:42:38 PM com.google.cloud.datastore.emulator.firestore.websocket.WebSocketServer start
INFO: Started WebSocket server on ws://127.0.0.1:9150
API endpoint: http://127.0.0.1:8080
If you are using a library that supports the FIRESTORE_EMULATOR_HOST environment variable, run:

export FIRESTORE_EMULATOR_HOST=127.0.0.1:8080

If you are running a Firestore in Datastore Mode project, run:

export DATASTORE_EMULATOR_HOST=127.0.0.1:8080

Note: Support for Datastore Mode is in preview. If you encounter any bugs please file at https://github.com/firebase/firebase-tools/issues.
Dev App Server is now running.

Jun 07, 2024 2:43:28 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead
INFO: Detected non-HTTP/2 connection.
Jun 07, 2024 2:43:28 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead
INFO: Detected non-HTTP/2 connection.
Jun 07, 2024 2:43:28 PM io.gapi.emulators.netty.NotFoundHandler handleRequest
INFO: Unknown request URI: /apple-touch-icon-precomposed.png
Jun 07, 2024 2:43:28 PM io.gapi.emulators.netty.NotFoundHandler handleRequest
INFO: Unknown request URI: /apple-touch-icon.png
Jun 07, 2024 5:07:12 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead
INFO: Detected non-HTTP/2 connection.
Jun 07, 2024 5:07:12 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead
INFO: Detected non-HTTP/2 connection.
Jun 07, 2024 5:07:12 PM io.gapi.emulators.netty.NotFoundHandler handleRequest
INFO: Unknown request URI: /apple-touch-icon-precomposed.png
Jun 07, 2024 5:07:12 PM io.gapi.emulators.netty.NotFoundHandler handleRequest
INFO: Unknown request URI: /apple-touch-icon.png
Jun 07, 2024 5:07:12 PM io.gapi.emulators.netty.NotFoundHandler handleRequest
INFO: Unknown request URI: /favicon.ico
Jun 07, 2024 5:07:12 PM io.gapi.emulators.netty.NotFoundHandler handleRequest
INFO: Unknown request URI: /apple-touch-icon-precomposed.png
Jun 07, 2024 5:07:12 PM io.gapi.emulators.netty.NotFoundHandler handleRequest
INFO: Unknown request URI: /apple-touch-icon.png
Jun 07, 2024 5:07:12 PM io.gapi.emulators.netty.NotFoundHandler handleRequest
INFO: Unknown request URI: /favicon.ico
Jun 07, 2024 5:07:12 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead
INFO: Detected non-HTTP/2 connection.
Jun 07, 2024 5:07:12 PM io.gapi.emulators.netty.NotFoundHandler handleRequest
INFO: Unknown request URI: /apple-touch-icon-precomposed.png
Jun 07, 2024 5:07:12 PM io.gapi.emulators.netty.NotFoundHandler handleRequest
INFO: Unknown request URI: /apple-touch-icon.png
Jun 07, 2024 5:07:12 PM io.gapi.emulators.netty.NotFoundHandler handleRequest
INFO: Unknown request URI: /favicon.ico
Jun 07, 2024 5:07:12 PM io.gapi.emulators.netty.NotFoundHandler handleRequest
INFO: Unknown request URI: /apple-touch-icon-precomposed.png
Jun 07, 2024 5:07:12 PM io.gapi.emulators.netty.NotFoundHandler handleRequest
INFO: Unknown request URI: /apple-touch-icon.png
Jun 07, 2024 5:07:12 PM io.gapi.emulators.netty.NotFoundHandler handleRequest
INFO: Unknown request URI: /favicon.ico
14 changes: 14 additions & 0 deletions functions/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
'root': true,
'env': {
'es6': true,
'node': true,
},
'extends': [
'eslint:recommended',
'google',
],
'rules': {
'quotes': ['error', 'single'],
},
};
8 changes: 8 additions & 0 deletions functions/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const functions = require('firebase-functions');
const admin = require('firebase-admin');

admin.initializeApp();

exports.helloWorld = functions.https.onRequest((request, response) => {
response.send('Hello from Firebase!');
});
Loading

0 comments on commit 5cebe80

Please sign in to comment.