winwin2671 / Runner_weather_status

weather and air pollutants status app for runners.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Runner_weather_status/CS50x Final project

Video Demo: URL HERE

Description:

This project is part of Harvard CS50's Introduction to Computer Science final project. Runner_weather_status is a dedicated application designed for runners, providing comprehensive information on weather conditions and air pollutant levels then suggesting to users whether it is suitable to run outside based on their entered location with the use of OpenWeatherMap API.

The key factors considered when assessing the weather status:

  • Temperature
  • humidity
  • feels_like (perceived temperature)
  • Air Quality Index (AQI)
  • precipitation
  • UV index

User Benefits:

By utilizing this web app, runners can greatly benefit in terms of their personal health during their running sessions. The app provides valuable climate data that is tailored to the specific effects it has on the runner's well-being. With this data, runners can plan and adjust their training accordingly based on the weather conditions to minimize injuries and potential health risks.

Tech used:

  • Python (Flask)
  • JavaScript
  • HTML
  • CSS
  • OpenWeatherMap API
  • TomTom API

How to Install and Run the Project:

install the requirements with the following command:

 pip3 install -r requirements.txt

API KEY

You have to register your own api keys and update into config.py

Future Features:

  • Get the user's location automatically by using Geolocation API. Since London was set as the default location in the current version.

Acknowledgements:

About

weather and air pollutants status app for runners.

License:MIT License


Languages

Language:HTML 41.8%Language:Python 25.8%Language:JavaScript 21.4%Language:CSS 11.0%