Skip to content

Commit 4d9e40d

Browse files
committed
Initial Commit
1 parent 041aecc commit 4d9e40d

31 files changed

+31684
-121
lines changed

Diff for: .gitignore

+16-119
Original file line numberDiff line numberDiff line change
@@ -1,127 +1,24 @@
1-
# Logs
2-
logs
3-
*.log
4-
npm-debug.log*
5-
yarn-debug.log*
6-
yarn-error.log*
7-
lerna-debug.log*
8-
.pnpm-debug.log*
9-
10-
# Diagnostic reports (https://nodejs.org/api/report.html)
11-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12-
13-
# Runtime data
14-
pids
15-
*.pid
16-
*.seed
17-
*.pid.lock
18-
19-
# Directory for instrumented libs generated by jscoverage/JSCover
20-
lib-cov
21-
22-
# Coverage directory used by tools like istanbul
23-
coverage
24-
*.lcov
25-
26-
# nyc test coverage
27-
.nyc_output
28-
29-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
30-
.grunt
31-
32-
# Bower dependency directory (https://bower.io/)
33-
bower_components
34-
35-
# node-waf configuration
36-
.lock-wscript
37-
38-
# Compiled binary addons (https://nodejs.org/api/addons.html)
39-
build/Release
40-
41-
# Dependency directories
42-
node_modules/
43-
jspm_packages/
44-
45-
# Snowpack dependency directory (https://snowpack.dev/)
46-
web_modules/
47-
48-
# TypeScript cache
49-
*.tsbuildinfo
50-
51-
# Optional npm cache directory
52-
.npm
53-
54-
# Optional eslint cache
55-
.eslintcache
56-
57-
# Optional stylelint cache
58-
.stylelintcache
59-
60-
# Microbundle cache
61-
.rpt2_cache/
62-
.rts2_cache_cjs/
63-
.rts2_cache_es/
64-
.rts2_cache_umd/
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
652

66-
# Optional REPL history
67-
.node_repl_history
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
687

69-
# Output of 'npm pack'
70-
*.tgz
8+
# testing
9+
/coverage
7110

72-
# Yarn Integrity file
73-
.yarn-integrity
11+
# production
12+
/build
7413

75-
# dotenv environment variable files
76-
.env
14+
# misc
15+
.DS_Store
16+
.env.local
7717
.env.development.local
7818
.env.test.local
7919
.env.production.local
80-
.env.local
81-
82-
# parcel-bundler cache (https://parceljs.org/)
83-
.cache
84-
.parcel-cache
85-
86-
# Next.js build output
87-
.next
88-
out
89-
90-
# Nuxt.js build / generate output
91-
.nuxt
92-
dist
93-
94-
# Gatsby files
95-
.cache/
96-
# Comment in the public line in if your project uses Gatsby and not Next.js
97-
# https://nextjs.org/blog/next-9-1#public-directory-support
98-
# public
99-
100-
# vuepress build output
101-
.vuepress/dist
102-
103-
# vuepress v2.x temp and cache directory
104-
.temp
105-
.cache
106-
107-
# Serverless directories
108-
.serverless/
109-
110-
# FuseBox cache
111-
.fusebox/
112-
113-
# DynamoDB Local files
114-
.dynamodb/
115-
116-
# TernJS port file
117-
.tern-port
118-
119-
# Stores VSCode versions used for testing VSCode extensions
120-
.vscode-test
20+
.env
12121

122-
# yarn v2
123-
.yarn/cache
124-
.yarn/unplugged
125-
.yarn/build-state.yml
126-
.yarn/install-state.gz
127-
.pnp.*
22+
npm-debug.log*
23+
yarn-debug.log*
24+
yarn-error.log*

Diff for: README.md

+57-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,57 @@
1-
# reactjs-weather-web
2-
1+
# React JS Weather App - Weather API
2+
3+
![preview1](https://user-images.githubusercontent.com/92743495/230665202-5f4dd3a0-b56d-4c93-b0af-b152a165cb19.png)
4+
5+
## Getting Started
6+
7+
I used this [Design](https://www.figma.com/community/file/1005161083412880387/Weather-App) by Mayank Chaudhary
8+
9+
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/emrekalfa)
10+
11+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
12+
13+
## Requirements
14+
15+
| Requirements | |
16+
| --- | --- |
17+
| Weather Api | [Weather Api](https://www.weatherapi.com)|
18+
| .env | Create your .env file for keys|
19+
20+
## Available Scripts
21+
22+
In the project directory, you can run:
23+
24+
### `npm start`
25+
26+
Runs the app in the development mode.\
27+
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
28+
29+
The page will reload when you make changes.\
30+
You may also see any lint errors in the console.
31+
32+
### `npm test`
33+
34+
Launches the test runner in the interactive watch mode.\
35+
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
36+
37+
### `npm run build`
38+
39+
Builds the app for production to the `build` folder.\
40+
It correctly bundles React in production mode and optimizes the build for the best performance.
41+
42+
The build is minified and the filenames include the hashes.\
43+
Your app is ready to be deployed!
44+
45+
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
46+
47+
### `npm run eject`
48+
49+
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
50+
51+
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.
52+
53+
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.
54+
55+
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.
56+
57+

0 commit comments

Comments
 (0)