https://github.com/raclettes/weather-app
Simple React weather app
https://github.com/raclettes/weather-app
Last synced: 4 months ago
JSON representation
Simple React weather app
- Host: GitHub
- URL: https://github.com/raclettes/weather-app
- Owner: raclettes
- License: mit
- Created: 2021-11-07T14:24:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-07T17:22:02.000Z (over 3 years ago)
- Last Synced: 2024-11-17T10:45:50.808Z (6 months ago)
- Language: TypeScript
- Size: 238 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Weather app
## Prerequisites
### Packages
The project officially uses Yarn, however you can use whichever package manager you like. Install as follows:
#### NPM
```
npm i
```#### Yarn
```
yarn
```### Environment
- You need a `.env` file containing configuration, as follows:
```env
REACT_APP_WEATHER_API_KEY = YOUR_WEATHER_KEY
```
where `YOUR_WEATHER_KEY` is your api key for [WeatherAPI](https://www.weatherapi.com/).
- Alternatively, just set the environment variable when needed.## Starting the application locally
### NPM
```
npm run start
```### Yarn
```
yarn start
```## Contributing
Please use convential commits. Current versions (as of writing, d7376c215472937ee8571fcfe7125b4382525e5a), use `main` as the development branch.During final releases this will be replaced.