Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

MoHUA Emblem

🌍 Smart City Waste Management System 2.0

An AI-driven, IoT-integrated platform for predictive urban sanitation.

Internship Node.js MongoDB License


📖 Table of Contents


💡 About the Project

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.


⚙️ Key Modules

1. 🚦 Command & Control Dashboard (index.html)

  • 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.

2. 📱 Citizen Grievance Portal (report.html)

  • Mobile-first Progressive Web App (PWA) UI.
  • Direct hardware access: Captures live photos and locks GPS coordinates instantly.
  • Secure, encrypted submission queue.

3. 👮 Admin Redressal System (admin_complaints.html)

  • 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).

4. 📈 Predictive Analytics (admin_reports.html)

  • AI insights visualizing historical data vs. predicted fill-levels.
  • Automated generation of Monthly Operational Reports (Fuel saved, CO2 reduced).

📸 Gallery & UI Previews

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.


💻 Tech Stack

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)

    1. Setup the Backend Environment Make sure MongoDB is installed and running locally on port 27017.

Install Node dependencies

npm install express mongoose cors axios dotenv

Start the Gateway

node api-gateway/src/server.js

  1. 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

  1. 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

👨‍💻 Author Nirupam Ghosh B.Tech in Computer Science | The Assam Royal Global University

"Cleanliness is not a one-time act, but a continuous automated process."

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages