Skip to content

πŸƒ AI-powered food waste management platform that transforms leftovers into valuable resources through smart analysis, gamification, and community engagement. Built during a hackathon by Team GitHappens.

Notifications You must be signed in to change notification settings

Saijayaranjan/refoodify

Repository files navigation

Refoodify

πŸ† Hackathon Project by Team GitHappens

Refoodify is an innovative AI-powered food waste management platform that addresses one of the world's most pressing environmental challenges. Our comprehensive system transforms food waste into valuable resources through intelligent analysis, personalized suggestions, and community engagement, making sustainability accessible and rewarding for everyone.

🌍 The Problem We're Solving

Food waste is a global crisis with far-reaching consequences:

  • 1.3 billion tons of food wasted globally each year
  • 8% of global greenhouse gas emissions come from food waste
  • $1 trillion worth of food lost annually
  • Limited awareness and tools for effective waste reduction at the consumer level

Traditional solutions focus on either composting or business-level interventions, leaving individual consumers without comprehensive, intelligent tools to tackle their food waste effectively.

πŸ’‘ Our Solution

Refoodify bridges this gap by providing a complete ecosystem for food waste management:

πŸ€– AI-Powered Analysis

Our intelligent system analyzes food waste photos and provides instant, actionable insights tailored to your specific situation.

🎯 Gamification & Rewards

Earn points, climb leaderboards, and unlock achievements as you reduce your environmental footprint.

πŸ“Š Personal Dashboard

Track your waste reduction journey with detailed analytics and progress visualization.

🌱 Sustainability Focus

Every suggestion prioritizes environmental impact while providing practical, achievable solutions.

πŸš€ Key Features

  • πŸ€– AI-Powered Food Analysis: Upload photos of food waste and receive instant AI-generated suggestions
  • πŸ“ Smart Reuse Ideas: Get creative, practical suggestions for repurposing leftovers
  • πŸƒ Nutritional Insights: Understand the nutritional value of what you're about to waste
  • 🌱 Composting Guidance: Learn proper composting techniques for non-reusable waste
  • 🎯 Gamification System: Points, achievements, and leaderboards to keep you motivated
  • πŸ‘₯ Community Features: Connect with other eco-conscious users and share tips
  • πŸ“Š Progress Tracking: Monitor your waste reduction impact over time
  • πŸ” Markdown-Rich Responses: Beautifully formatted AI suggestions with links and structured content

πŸ† What Makes Us Different

Unlike existing solutions, Refoodify offers:

  • Comprehensive AI Integration: Advanced image recognition and personalized suggestions
  • Consumer-Focused Design: Built specifically for individual households, not businesses
  • Gamification Elements: Making sustainability engaging and rewarding
  • Community Aspect: Learning from and sharing with like-minded users
  • Multi-Modal Solutions: From reuse ideas to composting, covering all waste reduction strategies

πŸ› οΈ Tech Stack

Frontend & Framework

  • Next.js 15: Latest React framework with App Router for optimal performance
  • TypeScript: Type-safe development for better code quality and maintainability
  • Tailwind CSS: Utility-first CSS framework for rapid, responsive design

Backend & Database

  • Supabase: Complete backend solution with real-time capabilities
  • PostgreSQL: Robust relational database for user data and analytics
  • Supabase Auth: Secure authentication with social login support

AI & Integration

  • Perplexity API: Advanced AI for food waste analysis and suggestions
  • react-markdown: Rich text rendering with GitHub Flavored Markdown support
  • remark-gfm: Enhanced markdown features for better content presentation

UI & Experience

  • Radix UI: Accessible, unstyled UI components
  • Lucide React: Beautiful, customizable icons
  • Custom Animations: Smooth transitions and loading states

Development & Deployment

  • Netlify: Fast, reliable hosting with automatic deployments
  • Node.js 20.11.0: Stable runtime environment
  • pnpm: Fast, efficient package manager

πŸš€ Getting Started

Prerequisites

  • Node.js 20.11.0 or higher
  • pnpm package manager

Installation

  1. Clone the repository
git clone https://github.com/Saijayaranjan/refoodify.git
cd refoodify
  1. Install dependencies
pnpm install
  1. Set up environment variables
cp .env.example .env.local
# Add your Supabase and Perplexity API keys
  1. Start the development server
pnpm dev
  1. Open your browser Navigate to http://localhost:3000 to see the application.

Environment Variables

NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
PERPLEXITY_API_KEY=your_perplexity_api_key

πŸ“± Features Overview

Dashboard

  • Upload food waste images for AI analysis
  • View personalized suggestions with rich formatting
  • Track your environmental impact
  • Monitor your progress and statistics

Authentication

  • Secure user registration and login
  • Session persistence across browser sessions
  • Protected routes and user data

AI Suggestions

  • Intelligent food waste analysis
  • Creative reuse suggestions
  • Composting recommendations
  • Markdown-formatted responses with links and structured content

Gamification

  • Points system for waste reduction activities
  • Achievement badges and milestones
  • Community leaderboards (coming soon)
  • Weekly challenges and rewards

🌟 Project Highlights

This project showcases:

  • Rapid Development: Built during a hackathon to demonstrate quick prototyping skills
  • Modern Tech Stack: Using the latest web technologies and best practices
  • Real-World Impact: Addressing genuine environmental concerns through technology
  • User-Centric Design: Focusing on usability and engagement
  • Scalable Architecture: Built to handle growth and feature expansion

πŸ‘₯ Team GitHappens

We are a passionate team of developers committed to creating innovative solutions for environmental sustainability. This project represents our dedication to:

  • Innovation: Leveraging cutting-edge AI technology for social good
  • Sustainability: Making environmental consciousness accessible and engaging
  • Community: Building tools that bring people together around shared values
  • Rapid Development: Demonstrating the power of focused, collaborative development

Our Mission

To prove that technology can be a powerful force for environmental change, and that innovative solutions can be developed rapidly when driven by passion and purpose.

Hackathon Experience

Refoodify showcases our ability to:

  • Identify real-world problems and create practical solutions
  • Work efficiently under time constraints
  • Integrate multiple technologies into a cohesive product
  • Design user-friendly interfaces that encourage positive behavior change

🀝 Contributing

We welcome contributions! Whether you're interested in:

  • Adding new features
  • Improving the AI suggestions
  • Enhancing the user interface
  • Fixing bugs or optimizing performance

Please feel free to open issues or submit pull requests.

πŸ‘¨β€πŸ’» Contributors

Thanks to all the amazing people who have contributed to this project:

πŸ“„ License

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


Built with ❀️ by Team GitHappens | Making sustainability accessible, one upload at a time.

About

πŸƒ AI-powered food waste management platform that transforms leftovers into valuable resources through smart analysis, gamification, and community engagement. Built during a hackathon by Team GitHappens.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages