Skip to content

WeatherRun is the app providing runners with current data about weather and air quality in selected location.

Notifications You must be signed in to change notification settings

kajetanaugust/WeatherRun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeatherRun

App is now available at WeatherRun

WeatherRun is the app providing users with current air quality and weather data and provides clothes recommendations based on that data.

Basics

  • User can type in a city name into the search box on the search page.
  • 5 last searches are displayed on the search page for returning users.
  • User can press the "Location arrow" button to get location from device geolocation ( user have to allow for location services ).
  • When user presses search button or return keyboard key or one of remembered searches, site redirects to result page.
  • When user presses geolocation button user location is acquired and passed to the fetch function which gets data for location.
  • Result Page displays current weather and air quality, 5-day forecast and recommended running clothes.
  • User can switch between light and dark mode, choice is applied to all pages and is saved in localStorage, so it is remembered for the next visit.
  • User can display data sources by clicking info button in bottom right corner.

Storage

All data that need to be saved are stored in localStorage.

Error handling

  • When there is no match found for user search, the "City not found, please try again" message is displayed.
  • When there is no URL match, "Page not found" message is displayed.

Technology

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn start or npm install and thennpm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn build or npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified, and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

About

WeatherRun is the app providing runners with current data about weather and air quality in selected location.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published