An open API service indexing awesome lists of open source software.

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

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.