The Weather Comparison App lets you compare the 7-day forecast of multiple cities using the OpenWeatherMap API and OpenCageData's geocoding API.
This is a React application, so React and node.js are required to run it. You will also need API keys for the OpenWeatherMap API and for OpenCageData's geocoding API. Once you have your API keys, add them to 'src/config/dev.js' with the following format:
// dev.js
module.exports = {
OWMAppId: <your-id-string>,
openCageApiKey: <your-id-string>
};
In the project directory, first run:
to install the necessary packages, then run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.