Study Groups & Collaboration

💬 Real-time Collaboration

Join or create study groups to learn together with classmates. Chat in real-time using Supabase Realtime.

Setup required: Configure Supabase authentication and realtime to enable this feature.

Math Wizards 🧙‍♂️

Math

Practice multiplication, division, and fractions together!

👥 12 members Grades 4-5

Science Squad 🔬

Science

Explore physics, chemistry, and biology concepts together!

👥 8 members Grades 6-7

History Buffs 📚

History

Learn about world history, ancient civilizations, and more!

👥 15 members Grades 5-8

Reading Club 📖

English

Discuss books, practice reading comprehension, and improve vocabulary!

👥 10 members Grades 3-5

Geography Explorers 🌍

Geography

Learn about countries, capitals, and cultures around the world!

👥 7 members Grades 4-6

Coding Kids 💻

Technology

Learn programming basics, algorithms, and problem-solving!

👥 9 members Grades 6-8

Group Chat Example: Math Wizards 🧙‍♂️

JS

John Smith • Grade 5 • 2 mins ago

Hey everyone! Can someone help me with fractions? I'm stuck on 3/4 + 2/3

EM

Emily Miller • Grade 5 • 1 min ago

Sure! First, you need to find a common denominator. For 3/4 and 2/3, the common denominator is 12!

MB

Michael Brown • Grade 4 • Just now

And then convert: 3/4 = 9/12 and 2/3 = 8/12. So 9/12 + 8/12 = 17/12 = 1 5/12! 🎉

💡 Real-time chat requires Supabase Realtime. See API documentation for integration details.

🔧 Setup Instructions

To enable study groups functionality:

  1. Configure Supabase database (see README.md for schema)
  2. Enable Supabase Realtime for the group_messages table
  3. Authenticate via /api/auth/login
  4. Use API endpoints:
    • POST /api/groups - Create group
    • GET /api/groups - List groups
    • POST /api/groups/{id}/join - Join group
    • POST /api/groups/{id}/messages - Send message
  5. Integrate Supabase Realtime client in frontend for live chat