Uses the GeoLocation and OpenWeatherMap API to show the current weather.
The project is built with React 16.11.10 and TypeScript, and so also uses the Context API.
Dependencies are bundled using the Parcel Bundler.
Currently uses the Bulma CSS CDN, might switch to the package later.
First, get yourself a (free) API key from OpenWeatherMap.
Clone this repository by doing git clone [email protected]:arvind0598/weathermachine.git
.
In the project directory, create a .env file that looks like this and put in your own API key.
API_KEY=xxx
Now use any of the NPM scripts after installing dependencies.