A web application that displays a 3-day weather forecast data from AccuWeather Forecast API. It loads the weather forecast based on the provided city/region.
Built using ReactJS with TypeScript and Bootstrap
- ReactJS using hooks
- TypeScript
- React-bootstrap - a complete re-implementation of the Bootstrap components using React
- React-Select - for autocomplete implementation of selecting locations from AccuWeather Forecast API
- Axios - used for fetching data from AccuWeather API
Make sure the API key is active. To update the key, follow the steps:
- Log in to https://developer.accuweather.com/.
- Go to
MY APPSsection. - Click
Add a new Appand enter the app details. ClickCreate App. - Go to the newly created app and copy the API Key.
- Paste it in the
apiKeykey in configuration file found insrc/api/config.ts
You may use the following reserved API key for testing.
API Key: ftmjGQdi8LHuOKIx8vXKL5R1ABlkDolG
In the project directory, you can 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.
Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.