Lumi Quest AI – Where AI Turns Learning into an Adventure
Inspiration
Children are naturally curious, but keeping them engaged in daily learning can be challenging. Many educational platforms focus heavily on repetitive exercises, while parents often struggle to find learning experiences that are both enjoyable and meaningful.
We wanted to build something different: a place where learning feels like an adventure rather than a classroom assignment.
That idea inspired Lumi Quest AI – an AI-powered family learning platform where children can explore daily puzzles, improve their vocabulary, earn rewards, and enjoy learning alongside their families.
Our vision is simple: turn everyday curiosity into a learning adventure.
What We Built
Lumi Quest AI is a family-oriented learning platform featuring two daily learning tracks:
- Kids Track: Fun, accessible word challenges designed for younger learners.
- Grown-ups Track: Daily word puzzles for older family members.
- AI-Powered Challenges: Google Gemini helps generate engaging daily word puzzles and learning content.
- Family Hub: Parents can manage family profiles and follow learning activities.
- Rewards and Adventure Map: Encourage consistent participation through progress and rewards.
- Family Challenges: Make learning more interactive through shared experiences.
- Parent Dashboard: Provides parents with a central place to manage family learning.
We also integrated PayPal Developer Sandbox to demonstrate a parent-approved payment flow for premium access.
How We Built It
We developed Lumi Quest AI using a modern web architecture:
| Technology | Purpose |
|---|---|
| React 19 + Vite | Frontend application |
| TypeScript | Application and server-side development |
| Node.js + Express | Backend APIs |
| Supabase | Authentication, PostgreSQL database and Row Level Security |
| Google Gemini API | AI-powered puzzle generation |
| PayPal Developer Sandbox | Payment integration and testing |
| Vercel | Application deployment |
| Tailwind CSS | Responsive UI styling |
| Framer Motion | Interactive animations |
AI Integration
Google Gemini is integrated into the learning experience to generate daily puzzle content and learning bundles.
Rather than relying entirely on static content, we designed the system to use AI-generated challenges with curated fallback puzzles when AI generation is unavailable.
This helps maintain a consistent learning experience while introducing variety into daily activities.
PayPal Integration
We integrated PayPal Developer Sandbox to demonstrate a parent-approved premium purchase flow.
The backend handles order creation and capture, verifies payment details, and uses server-side fulfillment logic to manage premium entitlements.
Our implementation focuses on ensuring that payment validation and entitlement decisions are handled on the server rather than trusting the frontend.
Note: This implementation uses PayPal Sandbox, not live payment processing.
Security and Child-Friendly Design
Because the platform is designed for families and children, we paid particular attention to data handling and application security.
Some of our implementation decisions include:
- Supabase Row Level Security for database access control.
- Server-authoritative puzzle validation.
- Duplicate-letter validation to prevent invalid word submissions.
- Signed guest sessions and single-use play tokens.
- Parent-oriented family management.
- Minimal child data collection by design.
Challenges We Faced
Building Lumi Quest AI involved several interesting engineering challenges.
1. Making AI generation reliable
AI-generated content can occasionally fail or return unexpected results. We designed a curated fallback mechanism so daily puzzles remain available when Gemini generation is unavailable.
2. Building secure puzzle validation
We did not want users to manipulate puzzle results through frontend requests. We implemented server-side validation, including checks for valid answers and duplicate-letter manipulation.
3. Implementing family-based access
Managing parents, children, profiles, and permissions required careful database design and Supabase Row Level Security.
4. Integrating PayPal securely
Payment processing required more than simply displaying a payment button. We implemented server-side order handling, payment verification, and entitlement fulfillment using the PayPal Sandbox environment.
5. Managing database evolution
As the project grew, database schema changes and migration dependencies became challenging. We worked through schema hardening, family creation transactions, play sessions, and payment entitlement changes while documenting the remaining fresh-database migration limitations.
What We Learned
This project taught us that building an AI-powered product involves much more than connecting an AI API.
We learned how to:
- Integrate Google Gemini into a real application workflow.
- Design fallback strategies for AI-dependent features.
- Build secure backend validation instead of trusting client-side data.
- Implement family-oriented authentication and database permissions.
- Integrate PayPal Sandbox with server-side payment verification.
- Think about privacy and security when designing products for children.
- Balance product experience, technical architecture, and reliability.
Most importantly, we learned to approach AI as a meaningful part of the user experience rather than simply adding AI as a feature for marketing.
What's Next?
Lumi Quest AI is a foundation for a broader family learning experience.
Our future plans include:
- More daily puzzle formats and learning categories.
- Richer AI-generated learning experiences.
- Improved parent insights and progress tracking.
- More family challenges and rewards.
- Further hardening of payment and database infrastructure.
- Preparing the payment experience for production after the required verification and compliance work.
Final Thought
We believe learning should create excitement, curiosity, and shared experiences.
With Lumi Quest AI, we are exploring how AI can help transform everyday learning into something children look forward to.
Lumi Quest AI – Where every day begins with a new adventure.
Built With
- ai
- artificial-intelligence
- express.js
- framer-motion
- gemini-api
- generative-ai
- google-gemini
- javascript
- level
- node.js
- paypal
- paypal-developer
- postgresql
- react
- rest-api
- row
- supabase
- tailwind-css
- typescript
- vercel
- vite