Skip to content

g14ayushi/CleanIt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CleanIt

Making cities cleaner, one click at a time!


Overview

CleanIt is an AI-powered waste reporting platform that enables citizens to capture and report garbage hotspots using photos and location data.
An AI classifier verifies if the image shows waste and automatically adds verified points to a Google Maps interface.
Municipal authorities can view, manage, and clean reported spots while tracking detailed analytics through an admin dashboard.

CleanIt Logo

CleanIt is not just an app — it’s a step toward sustainable urban living, where every citizen becomes a stakeholder in environmental well-being.


Key Features

1. About

The About page displays app objectives, logo, and a button to start reporting.

---

2. Report Garbage Dump — Location-based Upload

Users can upload photos of garbage dumps along with their real-time location using the Geolocation API and Google Maps.
Location, image with the shortest route to nearest garbage collector will be highlighted on Map.

Highlight: Intuitive interface powered by Google Maps API.


3. User Dashboard

User can view thier profile, reward points, totals reports submitted, and their city Rank.


4. Hotspot Map (Only Admin Can Access)

Displays aggregated waste points on a live Google Map to identify waste regions in the city. Admin can mark as clean and the location is removed from the logs and map.

Insight: Helps municipal authorities target high-impact areas.


5. Admin Dashboard — Real-time Analytics (Only Admin Can Access)

Admin can view summaries, reports over time, top reporters, and leaderboard at a glance.

Data Visuals: Interactive charts powered by Recharts.


6. Authentication System

CleanIt provides secure login and role-based access (User/Admin) with session-based navigation.


User Roles

  1. Citizen (Reporter):
    • Uploads photo of waste site.
    • Provides auto-detected or manual location.
    • Earns reward points for valid submissions.
    • Views all active (uncleaned) hotspots on map.
  2. Admin (Municipal Authority):
    • Views all reports in a dashboard.
    • Marks waste sites as “Cleaned”.
    • Monitors statistics (total reports, resolved %).
    • Can issue rewards to users.

Tech Stack

Layer Technology
Frontend React.js + Recharts
Backend FastAPI
AI Model TensorFlow / CNN model for dirty vs clean classification
Database PostgreSQL
Maps Integration Google Maps API
Auth Basic Authentication

Setup

Note

Ensure you have Python and npm installed on your system. Create an .env file in frontend and backend folder. Put the following in both files respectively

In backend:
DATABASE_URL=<neon_db_connection_string>

In frontend:
REACT_APP_GOOGLE_MAPS_API_KEY=<google_maps_api>
  1. Clone the repo
git clone https://github.com/g14ayushi/CleanIt.git
cd cleanit
  1. Setup Backend Inside a new virtual environment
pip install -r requirements.txt
uvicorn main:app --reload
  1. Setup frontend
npm i
npm start

User Flow & Admin Flow

REST Endpoints

image


How to ensure image uploaded is real?

image


Future Enhancements (Beyond MVP)

  1. Multi-language Support for inclusivity.
  2. AI Severity Scoring → how bad the waste site is (light/moderate/severe).
  3. Duplicate Detection → prevent repeated reports for same location.
  4. Notification System → email/SMS when site cleaned.
  5. Heatmap Mode → visualize waste concentration areas across the city.
  6. Data API for researchers/NGOs to analyze trends.

About

AI-powered waste reporting platform that enables citizens to capture and report garbage hotspots using photos and location data

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors