//BrainBuddy-Websitebylulunac27a

BrainBuddy-Website

BrainBuddy - AI Powered Learning Platform for Kids ( Innovative AI-powered learning platform designed specifically for students under 15. It transforms traditional study sessions into exciting, gamified learning adventures using cutting-edge AI technology. )

1
0
1

BrainBuddy - AI-Powered Learning Platform for Kids

Deployed on Vercel
Built with Next.js
TypeScript
Tailwind CSS

🧠 Overview

BrainBuddy is an innovative AI-powered learning platform designed specifically for students under 15. It transforms traditional study sessions into exciting, gamified learning adventures using cutting-edge AI technology.

✨ Key Features

  • undefined🤖 AI-Powered Content Generation: Automatically creates quizzes, summaries, and study materials from uploaded documents
  • undefined🎮 Gamified Learning: XP system, levels, achievements, and leaderboards to keep students engaged
  • undefined💬 Interactive AI Chat: Real-time conversation with an AI tutor for personalized learning support
  • undefined📊 Progress Tracking: Comprehensive analytics and progress visualization
  • undefined🏆 Achievement System: Unlock badges and rewards for learning milestones
  • undefined📱 Responsive Design: Works seamlessly on desktop, tablet, and mobile devices
  • undefined🌙 Dark/Light Mode: Beautiful theme switching for comfortable learning

🚀 Live Demo

undefinedView Live Demoundefined

🛠️ Tech Stack

  • undefinedFrontend: Next.js 15, React 18, TypeScript
  • undefinedStyling: Tailwind CSS, Radix UI Components
  • undefinedBackend: Supabase (Database, Authentication, Storage)
  • undefinedAI Integration: Google Gemini AI
  • undefinedDeployment: Vercel
  • undefinedState Management: React Context API
  • undefinedAnimations: Framer Motion

📋 Prerequisites

Before you begin, ensure you have the following installed:

🚀 Quick Start

1. Clone the Repository

git clone https://github.com/yourusername/brainbuddy.git
cd brainbuddy

2. Install Dependencies

npm install
# or
pnpm install

3. Environment Setup

Create a .env.local file in the project root:

NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
GEMINI_API_KEY=your_gemini_api_key

4. Database Setup

  1. Create a Supabase project
  2. Run the database setup scripts in order:
    • scripts/setup-database-clean.sql
    • scripts/setup-policies.sql
    • scripts/setup-functions.sql
    • scripts/setup-storage.sql

5. Start Development Server

npm run dev
# or
pnpm dev

Open http://localhost:3000 to view the application.

📚 Detailed Setup Guide

For comprehensive setup instructions, see SETUP_GUIDE.md

🏗️ Project Structure

brainbuddy/
├── app/                    # Next.js app directory
│   ├── api/               # API routes
│   ├── dashboard/         # Main dashboard page
│   ├── login/            # Authentication pages
│   └── signup/           # Registration page
├── components/            # React components
│   ├── ui/               # Reusable UI components
│   └── ...               # Feature-specific components
├── contexts/             # React contexts
├── hooks/                # Custom React hooks
├── lib/                  # Utility libraries
├── scripts/              # Database setup scripts
└── public/               # Static assets

🎯 Core Features

AI-Powered Learning

  • undefinedDocument Processing: Upload PDFs, images, or text files
  • undefinedQuiz Generation: AI creates interactive quizzes from content
  • undefinedSummary Creation: Automatic content summarization
  • undefinedSmart Chat: Context-aware AI tutoring

Gamification System

  • undefinedXP Points: Earn experience for completing activities
  • undefinedLevel Progression: Level up based on XP earned
  • undefinedAchievement Badges: Unlock rewards for milestones
  • undefinedStreak Tracking: Maintain daily learning streaks
  • undefinedLeaderboards: Compete with other students

Progress Analytics

  • undefinedLearning Dashboard: Visual progress overview
  • undefinedPerformance Metrics: Detailed analytics and insights
  • undefinedStudy Time Tracking: Monitor learning sessions
  • undefinedQuiz History: Review past performance

🔧 API Endpoints

  • POST /api/chat - AI chat functionality
  • POST /api/extract-text - Document text extraction
  • POST /api/generate-quiz - AI quiz generation
  • POST /api/generate-summary - Content summarization
  • POST /api/generate-quote - Quote generation

🎨 Customization

Themes

The application supports both light and dark themes with automatic system preference detection.

Styling

Built with Tailwind CSS for easy customization. Component styles can be modified in the respective component files.

🚀 Deployment

Vercel (Recommended)

  1. Push your code to GitHub
  2. Connect your repository to Vercel
  3. Add environment variables in Vercel dashboard
  4. Deploy automatically

Other Platforms

The application can be deployed to any platform that supports Next.js:

  • Netlify
  • Railway
  • DigitalOcean App Platform
  • AWS Amplify

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📝 License

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

🆘 Support

If you encounter any issues:

  1. Check the SETUP_GUIDE.md for common solutions
  2. Review the browser console for error messages
  3. Verify all environment variables are correctly set
  4. Ensure database setup scripts have been executed successfully

🙏 Acknowledgments


  1. Create and modify your project using v0.dev
  2. Deploy your chats from the v0 interface
  3. Changes are automatically pushed to this repository
  4. Vercel deploys the latest version from this repository

hello making
undefinedMade with ❤️ for the future of educationundefined

[beta]v0.14.0