Natanael-Exe / meteyo

weather app

Home Page:meteyo.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weather App

Overview

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:

Click here

installion

Clone the reprosetory and run this command to install depenencies

npm install

Requirement

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 the app

run this command to run the application:

npm start


© 2021 Exe Natanael. All Rights Reserved.

About

weather app

meteyo.vercel.app


Languages

Language:TypeScript 81.3%Language:CSS 14.0%Language:HTML 3.2%Language:JavaScript 1.5%