This application is a front-end weather app built with React & TypeScript.
The app provides an updated five-day weather information, either by search or by your current location (if allowed).
You can add your searched locations to favorites and access them via the favorites section.
Supported temperature units are Celsius, and Fahrenheit.
Weather information provided by AccuWeather
Demo: https://rons-weather-app.netlify.app/
- Clone the repository and navigate to root directory.
- Run
yarn install
. - Run
cp .env.sample .env
to create a dotenv file. - In
./.env
, you will need to setREACT_APP_API_KEY
with a valid API key from AccuWeather API. - Run
yarn start
- Navigate to
http://localhost:3000
.
- Search for weather information in a specific location.
- Add the currently displayed location to favorites.
- Use location services to track weather information in your current location.
- toggle between dark or light theme.
- toggle between celsius or fahrenheit.
- A grid view of your favorite locations.
- Clicking a location will redirect to a fully detailed weather information of it.
- TypeScript
- UI - React, Material-UI, styled-components
- State Management - Redux-Saga
- HTTP Client - Axios
- Date formatting - dayjs
- Animations - Lottie