Skip to content

Commit

Permalink
project created and deployed without test. ✅
Browse files Browse the repository at this point in the history
moor-zaa committed Aug 19, 2024
0 parents commit c54eea6
Showing 43 changed files with 19,182 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .firebase/hosting.YnVpbGQ.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
robots.txt,1724007645398,bfe106a3fb878dc83461c86818bf74fc1bdc7f28538ba613cd3e775516ce8b49
manifest.json,1724007644099,ee04fb47e525c67d8424ffe9b4d8a8a24e434504478afca4e0ca602146836d4c
asset-manifest.json,1724057549042,fdaedda5b497698438000d6d026ebb51cef091af2cc268b564d00a470395a188
index.html,1724057549044,18db5c503802f2b258daf9d64421441873e8441d91422b3ccc27b6844ed67257
static/js/main.ef9cb487.js.LICENSE.txt,1724057549044,9cbc08b494f3b2039f94f32e553f01d065567e57b0f560f74ae038a3327157d8
static/js/453.0ccb7fb4.chunk.js,1724057549045,f79b08b5c24c70858fe29f15b1ae16bf87c2ae8b89d0fd7deaa81fc02f61886d
static/js/453.0ccb7fb4.chunk.js.map,1724057549045,758d33d7c4c70ad6f205e9059c595f47b3601972c2e484daf56cf2e06fbb3cc0
static/css/main.ecfa009d.css.map,1724057549045,1f8139197c187da362184cc27cb6618df569d47fff8a187423a49f42a11206a7
static/css/main.ecfa009d.css,1724057549045,5d7fe328c7efc9122b1c38a081d72da77db445d859252dbc4359a13228774d6a
logo192.png,1724007645000,79e2b749561016bc8af300ea19f48347ceed3cb1a54f48ae456172eca45e08f0
favicon.ico,1724007642149,27edce7be5922cf0bef7d4136f69b5bfbdd5bf8c13c7b026f71187d41a00aa7d
logo512.png,1724007645147,212b102aa09e51b3b3e06647e81f7801a61333e171f6582e8124379aabccb41d
static/media/thunderstorm.366c2f5ee32d24240b04.png,1724057549045,05cda7fc2a330d709d037a6ef352a5a23a4507434de2d63b647a704e3ba9e989
static/media/clouds.33e05f92fa16c814025a.png,1724057549044,84cf4bdfe7d204ed2c450994f489c6f17ab36ff54b3ae45a31e388c8d9a938b8
static/media/rain.f3ed6f468eff6d3ceb6d.png,1724057549044,55b2fd0bb16a4c3738374845953973c020fcb8c294e2298552b6eba4dedab800
static/media/clear.a3b510e35b6c8220ed1d.png,1724057549045,393b2b9b24b16c4f6b986ac87530d6058751c1499ac02163d7a7f726b1b02b6c
static/media/sun.b0573764dd9b21f9cdde.png,1724057549045,4f21d871ae24b5069711f8f5fce13ca1d9869f19d3e7417e90e9a289d3d1a29a
static/media/snow.2856e2ac2c89582542c6.png,1724057549044,e96c643a62886fab1ffcf325987a61e003eddd9047a701b9c217355cae8e888f
static/js/main.ef9cb487.js,1724057549044,9fcb5291c4d167a68558d3930ee6eb3ed8926269c5ffa41b658c04d85be89286
static/js/main.ef9cb487.js.map,1724057549045,d437b1a14211e04dda5d38d4637ce773fc98e4c32a8781d4707f3104b94fa394
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "weather-app-0511071"
}
}
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_WEATHER_APP_0511071 }}
channelId: live
projectId: weather-app-0511071
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_WEATHER_APP_0511071 }}
projectId: weather-app-0511071
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
70 changes: 70 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.

The page will reload when you make changes.\
You may also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can't go back!**

If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)

### Analyzing the Bundle Size

This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)

### Making a Progressive Web App

This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)

### Advanced Configuration

This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)

### Deployment

This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)

### `npm run build` fails to minify

This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
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 c54eea6

Please sign in to comment.