Skip to content

🌍 A real-time Global Air Quality Index (AQI) monitor built with Spring Boot and Leaflet.js. Features city search, GPS localization, and satellite map layers.

License

Notifications You must be signed in to change notification settings

meetpotdar777/GeoAQI-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌍 GeoAQI Engine: Global Air Quality Monitor

Java Spring License

GeoAQI Engine is a full-stack Java application that provides real-time Air Quality Index (AQI) data for any location on Earth. Built with Spring Boot and Leaflet.js, it features an interactive map where users can search for cities, locate themselves via GPS, and view detailed environmental health data.

πŸš€ Features

  • Interactive Map: Click anywhere on the world map to get instant AQI data.
  • Real-time Data: Integrated with the WAQI (World Air Quality Index) API.
  • GPS Localization: "Locate Me" feature to find AQI at your current position.
  • City Search: Built-in geocoder to jump to any city globally.
  • Dual Layers: Switch between Standard Street view and Satellite World imagery.
  • Smart UI: Dynamic color-coded popups and a professional AQI risk legend.
  • Loading States: CSS animations for a smooth user experience.

πŸ› οΈ Tech Stack

Layer Technology
Backend Java 17+, Spring Boot 3.x, Maven
Frontend HTML5, CSS3, JavaScript (ES6)
Maps Leaflet.js, Esri World Imagery
API WAQI (World Air Quality Index)

πŸ“‚ Project Structure

GeoAQI-Engine/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ main/
β”‚   β”‚   β”œβ”€β”€ java/
β”‚   β”‚   β”‚   └── com/example/aqi/
β”‚   β”‚   β”‚       β”œβ”€β”€ AqiApplication.java  (Main Entry)
β”‚   β”‚   β”‚       β”œβ”€β”€ controller/          (API Endpoints)
β”‚   β”‚   β”‚       └── service/             (Logic & External API calls)
β”‚   β”‚   └── resources/
β”‚   β”‚       └── static/
β”‚   β”‚           └── index.html           (Frontend Dashboard)
└── pom.xml                              (Project Dependencies)

βš™οΈ How to Run

  1. Clone the project to your local machine.

  2. Ensure you have Maven and Java 17+ installed.

  3. Open a terminal and Navigate to the project root and run:

mvn clean install
mvn spring-boot:run
  1. Open your browser and visit: http://localhost:8080

🎨 AQI Scale Reference

The application follows the WHO Global Standards:

🟒 0-50: Good (Low Risk)

🟑 51-100: Moderate

🟠 101-150: Unhealthy for Sensitive Groups

πŸ”΄ 151-200: Unhealthy

🟣 201-300: Very Unhealthy

🟀 300+: Hazardous



πŸ‘¨β€πŸ’» Author

Meet Potdar Full-Stack Developer

LinkedIn Portfolio


Built with ❀️ using Spring Boot and Leaflet.js

About

🌍 A real-time Global Air Quality Index (AQI) monitor built with Spring Boot and Leaflet.js. Features city search, GPS localization, and satellite map layers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published