Weather App is a web application that shows the current weather of the city the user has looked up, users can add cities to their favorite cities list and remove cities from the list.
This app is build with React,Typescript, Context API as State management, i use localStorage to persist the favorites list data, and Tailwind CSS for the styling.
The app is deployed on vercel, use this link to visit the application:
Clone the reprosetory and run this command to install depenencies
npm install
I use openweathermap API to get the weather data and mapbox to get the static map image according the to the longitude and the latitude of the city. To run the app you must create a file called .env at the root of the project and add these variables:
REACT_APP_API_KEY =
REACT_APP_MAPBOX_ACCESS_TOKEN =
the api key and the access token was provided in the email.
run this command to run the application:
npm start
© 2021 Exe Natanael. All Rights Reserved.