/weather-app

Simple React weather app

Primary LanguageTypeScriptMIT LicenseMIT

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:
    REACT_APP_WEATHER_API_KEY = YOUR_WEATHER_KEY
    where YOUR_WEATHER_KEY is your api key for WeatherAPI.
  • 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.