- About the Project
- Live Statistics
- Key Modules
- Gallery & UI Previews
- Tech Stack
- Local Installation
- API Reference
- Author
Developed as part of the Microsoft Elevate AICTE Internship (Jan 2026), this project digitalizes and optimizes urban waste management. By replacing static garbage collection schedules with dynamic, AI-optimized routing and real-time IoT sensor data, municipalities can reduce fuel costs by up to 30%, lower their carbon footprint, and maintain a higher civic cleanliness index.
- Live geospatial tracking of all city dustbins using Leaflet.js.
- Visual alerts: Red pulsing nodes for "Critical" bins (>80% full), Green for "Normal".
- 1-Click AI Route Optimization using Nearest Neighbor algorithms.
- Mobile-first Progressive Web App (PWA) UI.
- Direct hardware access: Captures live photos and locks GPS coordinates instantly.
- Secure, encrypted submission queue.
- Centralized queue for incoming citizen reports.
- One-click resolution updates the live city map, turning pending issues (Black dots) into resolved success markers (Violet dots).
- AI insights visualizing historical data vs. predicted fill-levels.
- Automated generation of Monthly Operational Reports (Fuel saved, CO2 reduced).
| Command Centre Live Map | Mobile Citizen App | Predictive Analytics |
|---|---|---|
![]() |
![]() |
![]() |
Note: Replace the placeholder image URLs above with direct links to your actual project screenshots once uploaded.
Frontend Architecture:
- HTML5, CSS3, Vanilla JS
- Bootstrap 5 (Responsive Layouts)
- Leaflet.js (OpenStreetMap integration)
- Chart.js (Data visualization)
Backend Architecture:
- Node.js & Express.js (REST API Gateway)
- MongoDB & Mongoose (NoSQL Database)
- CORS & Body-Parser middlewares
Simulation Layer:
-
Python 3.x (IoT edge device simulation & data streaming)
-
- Setup the Backend Environment Make sure MongoDB is installed and running locally on port 27017.
npm install express mongoose cors axios dotenv
node api-gateway/src/server.js
- Run the IoT Hardware Simulator Open a second terminal window to start generating simulated sensor data.
cd sensors pip install requests python sensor_simulator.py
- Open the App
Navigate to http://localhost:3000 in your desktop browser.
On your mobile phone, connect to the same Wi-Fi network, and visit http://<YOUR_COMPUTER_IPV4>:3000/report.html
📡 API Reference (Core Endpoints)
| Method | Endpoint | Description |
|---|---|---|
GET |
/api/bins |
Fetches real-time status and coordinates of all IoT bins |
PUT |
/api/bins/:id |
Updates specific bin fill-level (Used by Python simulator) |
POST |
/api/reports |
Submits a new citizen grievance with base64 image |
PUT |
/api/reports/:id/resolve |
Marks a citizen complaint as successfully resolved |
POST |
/api/optimize |
Triggers the AI routing algorithm |
"Cleanliness is not a one-time act, but a continuous automated process."


