A gamified learning platform with AI-generated quizzes, fantasy adventures, and progressive skill development.
- Node.js 18+
- A Supabase account and project
npm install- Look for the "Connect to Supabase" button in the top-right corner of the application
- Click it to automatically configure your Supabase connection
- This will set up your environment variables and database
- Create a new project at supabase.com
- Go to Settings > API in your Supabase dashboard
- Copy your Project URL and anon/public key
- Update the
.envfile with your credentials:
VITE_SUPABASE_URL=https://your-project-id.supabase.co
VITE_SUPABASE_ANON_KEY=your-anon-key-here- Run the database migrations:
# If you have Supabase CLI installed
supabase db push
# Or manually run the SQL files in supabase/migrations/ in your Supabase SQL editornpm run dev- AI-Generated Quizzes: Dynamic questions powered by AI for endless learning
- Progressive Levels: 6 difficulty levels per topic (Beginner to Advanced)
- Gamification: EXP, levels, streaks, and achievements
- Community Features: Share progress and compete on leaderboards
- Fantasy Theme: Immersive quest-based learning experience
- Real-time Updates: Live progress tracking and community feed
- Frontend: React 18, TypeScript, Tailwind CSS, Framer Motion
- Backend: Supabase (PostgreSQL, Auth, Real-time)
- AI: Custom AI service for question generation
- Icons: Lucide React
- Deployment: Vercel-ready
src/
├── components/ # Reusable UI components
├── contexts/ # React contexts (Auth, etc.)
├── hooks/ # Custom React hooks
├── lib/ # Utilities and configurations
├── pages/ # Page components
├── services/ # External service integrations
└── types/ # TypeScript type definitions
supabase/
└── migrations/ # Database schema migrations
Required environment variables:
VITE_SUPABASE_URL=your_supabase_project_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_keyThe app is configured for easy deployment on Vercel:
- Connect your GitHub repository to Vercel
- Add your environment variables in Vercel dashboard
- Deploy!
The application uses the following main tables:
users- User profiles and progresstopics- Learning subjectsquests- Individual quest levelsquiz_attempts- Quiz resultsuser_quest_progress- Progress trackingquoll_shouts- Community postsleaderboard_cache- Performance optimization
- Sign Up: Create your adventurer profile
- Choose a Quest: Select from popular topics or create custom ones
- Start Learning: Take AI-generated quizzes with progressive difficulty
- Track Progress: Monitor your EXP, level, and streaks
- Join Community: Share achievements and compete with others
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is licensed under the MIT License.
- Ensure your
.envfile has the correct Supabase credentials - Check that your Supabase project is active
- Verify the database migrations have been applied
- Use the "Connect to Supabase" button for automatic setup
- Clear browser cache and localStorage
- Restart the development server
- Check the browser console for detailed error messages
For more help, check the issues section or create a new issue.