Skip to content

Commit

Permalink
feat: Integrate Firebase for backend services (#6)
Browse files Browse the repository at this point in the history
* feat: Add hero section to the homepage

Implemented a new hero section in the homepage to provide a welcoming introduction and quick overview of the site's purpose. This section includes a main banner with a catchy tagline and a call-to-action button.

* feat: Integrate Firebase for backend services

- Configured Firebase SDK with the React application.
- Implemented Firebase Authentication for user sign-in and sign-up.
- Set up Firestore Database for storing and retrieving project data.
- Prepared Firebase Hosting for future deployment.

This integration enables dynamic content management and user authentication, laying the groundwork for a fully functional application.
  • Loading branch information
DizzyZff authored Nov 25, 2023
1 parent 916c24c commit 4290a7d
Show file tree
Hide file tree
Showing 7 changed files with 794 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .firebase/hosting.YnVpbGQ.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
asset-manifest.json,1700885538742,bb440119c82563a087f91c403bc4a5691a013120653ba7daf302947373f53fd6
index.html,1700885538741,5b97bd35b9a63c50f0cca5ceec23d5b2af0d4672430a79ad7e2adddce6780870
manifest.json,1700873208403,ee04fb47e525c67d8424ffe9b4d8a8a24e434504478afca4e0ca602146836d4c
robots.txt,1700873208626,bfe106a3fb878dc83461c86818bf74fc1bdc7f28538ba613cd3e775516ce8b49
static/css/main.f855e6bc.css,1700885538743,e0b62f2a73f324feb61f9ce0da624ed3f57a7a8bf0a7c54521f99493a7f1da41
favicon.ico,1700873207950,27edce7be5922cf0bef7d4136f69b5bfbdd5bf8c13c7b026f71187d41a00aa7d
logo192.png,1700873208564,79e2b749561016bc8af300ea19f48347ceed3cb1a54f48ae456172eca45e08f0
static/css/main.f855e6bc.css.map,1700885538743,9e8aadc8f69c2a8943813dee9f3d5ba2edaf1e8103853219a06d1cba5389ddbc
logo512.png,1700873208587,212b102aa09e51b3b3e06647e81f7801a61333e171f6582e8124379aabccb41d
static/js/787.40e53633.chunk.js,1700885538743,3da3e10659b4ca0c2ac766888f13d4c9d85a9cc7e8e3e107a9defef60694349a
static/js/main.c5376f77.js.LICENSE.txt,1700885538743,ebb955790131b63156f7f1d15240d328171a58be63d822f12db953b3d6e41eec
static/js/787.40e53633.chunk.js.map,1700885538743,1d8d65e6847c24224ea8ffa551549fd044401b1d2a0ab25e89c0fb7460d18ea4
static/media/logo.6ce24c58023cc2f8fd88fe9d219db6c6.svg,1700885538742,1ba5ab29d08b53b3c796cb7a8991d18ea9f36d9690fbd3e609681c47808a7bcb
static/js/main.c5376f77.js,1700885538743,5dab27a196653274bd50ded7a84429bdcea3f618db024eb1cd751739121a65b4
static/js/main.c5376f77.js.map,1700885538743,fcb98835c049ce1b95f1e73160df4dc6c0881c41a4618fb1e18c216b590b88ba
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "dizzyz"
}
}
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@v3
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_DIZZYZ }}'
channelId: live
projectId: dizzyz
17 changes: 17 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 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
jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_DIZZYZ }}'
projectId: dizzyz
16 changes: 16 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hosting": {
"public": "build",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
Loading

0 comments on commit 4290a7d

Please sign in to comment.