An AI-powered web application that classifies waste from images, provides an Eco Score, and displays analytics for user progress and environmental impact tracking.
- Frontend: React (Vite) + Tailwind CSS + Recharts
- Backend: Node.js + Express + MongoDB
- AI Service: Python + Flask
- Node.js installed
- Python 3.8+ installed
- MongoDB installed and running locally on
mongodb://127.0.0.1:27017/ecoscan
- Open terminal and navigate to
ai-modeldirectory. - Install dependencies:
pip install -r requirements.txt - Run the service:
python app.py - The service will run on
http://localhost:5000
- Open terminal and navigate to
serverdirectory. - Install dependencies:
npm install - Run the server:
node server.js - The server will run on
http://localhost:5001
- Open terminal and navigate to
clientdirectory. - Install dependencies:
npm install - Run the development server:
npm run dev - Open your browser and go to the provided Vite URL (usually
http://localhost:5173)
- Upload waste images or use webcam
- AI classification of Waste (Mock service included for development)
- Eco Score calculation and level gamification
- Dashboard showing analytics with Recharts
- Scan history tracking