Skip to content

fernanda-veiga/weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App Project

Project for TheOdinProject JavaScript curriculum.

The user can search for a location by city name and fetch the location's current weather data using OpenWeatherMap API.

Features

  • Fetch and display weather data from any city in the world.
  • Display 5-day daily forecast data.
  • Display data in metric or imperial units.
  • Unique icons and colors for each weather.

Possible future features:

  • Display current time and date for the location searched.
  • Display user's location when first loading the page.

Resources used

Demo

Live version here

How to use

To use the website, click here.

To use the code, download all files and put them in the same directory. Inside the /src directory, inside the api-key.js, write your own API key on the designated place. You can generate an API key on the OpenWeatherMap website.

On the terminal, on the directory the files were downloaded to, install Webpack and date-fns by running npm install webpack webpack-cli --save-dev and npm install date-fns --save.

Run Webpack to create the paths and the bundle by running npm run build.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published