A weather forecast website that allows users to search for weather forecasts by city and unit using the OpenWeather API. The app provides up-to-date weather information for today and the next four days, including max temperature, min temperature, and humidity.
Website Link: Daily Weather Report
- TypeScript
- React.js
- Redux Toolkit
- Styled Components
- Netlify: Deploy and CI/CD
- Jest
- ESLint
- Prettier
To get a local copy of this app up and running, follow these simple steps:
To use this app, you need to have Node.js and Yarn installed on your machine. If you don't have them installed, you can download them from the following links:
- Node.js: https://nodejs.org/
- Yarn: https://yarnpkg.com/
- Get a free API Key from https://openweathermap.org/
- Clone the repo:
git clone https://github.com/TJ72/weather-forecast.git
- Navigate to the project directory:
cd weather-forecast
- Install NPM packages:
yarn install
- Enter your API Key in the .env file:
REACT_APP_API_KEY=YOUR_API_KEY
To start the app, run the following command:
yarn start
The app will run on http://localhost:3000
in your web browser.