Skip to content

Flask based application that displays real-time AQI and pollutant data for cities using Flask and the OpenWeatherMap API.

License

Notifications You must be signed in to change notification settings

Ayushpremrocks/Air-Quality-Monitoring-Dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Air Quality Monitoring Dashboard 🌍

The Air Quality Monitoring Dashboard is a web application that allows users to check the Air Quality Index (AQI) of any city. It provides real-time AQI data along with pollutant levels using the OpenWeatherMap API.

Screenshot of the model


Features ✨

  • City Search: Users can search for any city and get detailed AQI and pollutant information.
  • Dynamic Updates: Displays real-time data fetched from the OpenWeatherMap API.
  • Interactive UI: User-friendly interface with a modern design.
  • Air Quality Messages: Displays the air quality level (e.g., Good, Moderate, Hazardous) based on the AQI value.
  • Pollutant Breakdown: Detailed information about pollutant levels (e.g., CO, NO₂, O₃).

Tech Stack 🛠️

  • Frontend: HTML, CSS, JavaScript, Chart.js
  • Backend: Flask (Python)
  • API Integration: OpenWeatherMap API
  • Styling: Responsive design with custom CSS

Setup Instructions

Prerequisites

Ensure you have Python 3.8+ and pip installed on your system.

Steps to Run Locally

  1. Clone the repository:
    git clone https://github.com/Ayushpremrocks/Air-Quality-Monitoring-Dashboard
  2. Create a Virtual Environment (Optional but Recommended):
    python -m venv venv
    source venv/bin/activate    # On macOS/Linux
    venv\Scripts\activate       # On Windows
  3. Install Flask:
    pip install Flask
  4. Install requests
    pip install flask requests
    
  5. Run the Flask app:
    python app.py
    
  6. Open your browser and go to:
    http://127.0.0.1:5000

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Flask based application that displays real-time AQI and pollutant data for cities using Flask and the OpenWeatherMap API.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published