/WeatherTracker_App

An app that provides real-time weather information and forecasts. Created using Python, HTML, CSS, SQLite, Flask, Bootstrap, and OpenWeatherMap API

Primary LanguageHTML

WeatherTracker_App

WeatherTracker is a web application that provides real-time weather information and forecasts. The application uses the OpenWeatherMap API to fetch weather data based on user input.

Features

  • Display current weather conditions
  • Display hourly weather forecast
  • Display 3-day weather forecast with 3-hour intervals
  • Real-time updates for the current time and weather
  • Save and delete locations for quick access
  • Detailed weather information, such as temperatures in Celsius and Fahrenheit, humidity, wind speed, and precipitation chance

Technologies Used

  • Python: For the back-end development, handling the server-side logic, data processing, and integration with the OpenWeatherMap API.
  • HTML: For creating the structure of the web pages, such as the templates for displaying weather information, forms for user input, and other page components.
  • CSS: For styling the HTML elements, making the user interface appealing and responsive.
  • SQLite: Used as the database to store weather information and cities saved by the user.
  • Flask: A lightweight web framework in Python, used to create and run the web application.
  • Bootstrap: A front-end framework with a collection of CSS and JavaScript tools, used to style the application and ensure it was responsive.
  • OpenWeatherMap API: A service that provides weather data, used to get real-time weather data for different locations.

Prerequisites

Make sure you have the following installed on your system:

  • Python 3.x
  • pip (Python package installer)

Installation Steps and How to Run

  1. Clone the Repository
  2. Install Required Package: 'pip install Flask'
  3. Go to OpenWeatherMap and sign up for a free account. After signing up, navigate to the API Keys section in your account settings and generate a new API key.
  4. Add the API key in app.py (line 26)
  5. Run app.py to initialize the database
  6. Open a web browser and go to: 'http://127.0.0.1:5000/'