Skip to content

Harsh-Gopal/Food-Waste-Management-Dashboard

Repository files navigation

Food Waste Dashboard

A comprehensive AI-powered dashboard designed to track and manage food waste effectively. The dashboard provides insights into sustainability metrics, gamification features, and actionable data.

Dashboard Preview 1
Dashboard Preview 2
Dashboard Preview 3


Features

  • Real-Time Analytics: Track food waste in real time.
  • AI-Powered Insights: Get predictions and actionable recommendations.
  • Sustainability Metrics: Monitor environmental impact and carbon footprint.
  • Gamification: Unlock challenges, earn achievements, and participate in leaderboards.
  • Responsive Design: Optimized for desktop, tablet, and mobile devices.
  • Smart Alerts: Stay updated with notifications.

Tech Stack

  • Frontend: React, TypeScript, Tailwind CSS, Recharts
  • Backend: Supabase
  • Build Tool: Vite
  • Icons: Lucide Icons

Requirements

  • Node.js: Version 16 or higher
  • Package Manager: npm or yarn
  • Supabase Account: For backend setup

Getting Started

1. Clone the Repository

git clone https://github.com/CHANDIGARH-UNIVERSITY-DOMAIN-CAMP-2024/project-Harsh-Gopal.git
cd project-Harsh-Gopal

2. Install Dependencies

npm install

3. Set Up Environment Variables

Create a .env file in the project root and add your Supabase credentials:

VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key

4. Start the Development Server

npm run dev

Open http://localhost:5173 in your browser to view the app.


Database Setup

The project uses Supabase for database management. To set up the database schema, run the migrations from the supabase/migrations folder:

supabase migration up

Project Structure

├── src/
│   ├── components/      # React components
│   ├── hooks/           # Custom React hooks
│   ├── lib/             # Utilities and configurations
│   ├── types/           # TypeScript type definitions
│   └── utils/           # Helper functions
├── supabase/
│   └── migrations/      # Database migrations
├── public/              # Static assets
└── index.html           # Main HTML file

Key Features Overview

Real-Time Tracking

  • Monitor food waste live
  • Compare historical data
  • Analyze trends over time

AI-Powered Insights

  • Predict waste trends
  • Identify anomalies
  • Smart recommendations for waste reduction

Sustainability Metrics

  • Environmental impact tracking
  • Calculate carbon footprint
  • Track and improve sustainability scores

Gamification Features

  • Participate in monthly challenges
  • Earn achievement badges
  • Compete on leaderboards

Contribution Guidelines

  1. Fork the repository.
  2. Create a feature branch: git checkout -b feature/your-feature.
  3. Commit changes: git commit -m "Add your feature description".
  4. Push to the branch: git push origin feature/your-feature.
  5. Submit a Pull Request for review.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Acknowledgments