Learning & EdTech · Est. $18k – $20k
KLUUU

AI quiz platform

Coralsoft designed, built and shipped this product for the client.

WebBackendReact 18 + TypeScriptVite + SWCReact Router v6
kluuu-ai-quiz-platform.example / dashboard
KLUUU upload entry accepting PDF, DOCX, image or text files up to 50 MB
The situation

What was in place before we started.

A no-code Lovable prototype rebuilt from scratch into a production-grade EdTech SaaS — with a multimodal AI quiz generation pipeline, seven question types, Stripe subscriptions, and gamified learning streaks.

KLUUU had a clear product hypothesis: students and self-directed learners should be able to drop any study material — a PDF, a DOCX, an image of lecture notes — and get a ready-to-take quiz in seconds. The concept had been validated with a rapid prototype built on Lovable, an AI-assisted no-code builder. Early users responded well; the core loop worked.

But the prototype had hit its ceiling. The generated scaffold offered no control over the database architecture, no custom backend logic, no path to a real subscription model, and code that was too fragile to extend with confidence. Moving from a validated idea to paying customers required a complete rebuild.

Constraint

Coralsoft's mandate was not to redesign the product — the UX patterns were working. It was to take the validated feature set and rebuild the entire application on a professional stack that could support a real freemium SaaS: proper RLS, TypeScript throughout, scalable component architecture, and a production-grade payment and auth layer.

Estimated Timeline
8 months
Estimated Team
6 people
Estimated Budget
$18k – $20k
Platforms
2
Stack
React 18 + TypeScriptVite + SWCReact Router v6TanStack QueryTailwind CSSShadcn UI + RadixReact Hook Form + ZodSupabase PostgreSQL + RLSSupabase Edge Functions (Deno)Supabase RealtimeGoogle Gemini 1.5 FlashStripe Checkout + WebhooksBrevoMixpanel + GTM + Meta + TikTokVercel
Delivery story

KLUUU: structuring complex learning into a usable product

01

Challenge

A no-code Lovable prototype rebuilt from scratch into a production-grade EdTech SaaS — with a multimodal AI quiz generation pipeline, seven question types, Stripe subscriptions, and gamified learning streaks. The main delivery challenge was to give users structured progress, useful feedback, and content that can evolve without rebuilding the app, while keeping Quiz generation pipeline, Seven question types, and Stripe subscription infrastructure consistent across the complete journey. We framed the engagement around the smallest production-worthy flow first, then expanded the scope without weakening the underlying component and data model.

02

How we built it

We began by mapping the user journey and the boundaries of the AI: what context it receives, what it may return, and where deterministic application logic must stay in control. We then built Quiz generation pipeline, Seven question types, and Stripe subscription infrastructure as small end-to-end slices, connecting the interface to the data and model layers early so the team could test real responses instead of static mock-ups. Streaming and real-time states were treated as first-class UI states, including loading, partial output, retries, and recovery. The main implementation used React 18 + TypeScript, Vite + SWC, React Router v6, and TanStack Query, with typed contracts keeping the JavaScript stack consistent across the product.

03

Delivery

The delivered scope brought Quiz generation pipeline, Seven question types, Stripe subscription infrastructure, and Learning streak engine into one coherent production-ready product experience. Model output, product logic, and user feedback are separated clearly, which makes the AI easier to evaluate and evolve. For KLUUU, the practical result is a product that communicates its value quickly while giving the team a maintainable base for continued delivery in learning & edtech.

Challenges

Each constraint, and what we did about it.

Constraint

Coralsoft's mandate was not to redesign the product — the UX patterns were working. It was to take the validated feature set and rebuild the entire application on a professional stack that could support a real freemium SaaS: proper RLS, TypeScript throughout, scalable component architecture, and a production-grade payment and auth layer.

What we did

The frontend is a client-rendered React SPA with React Router v6 protected routes gated by auth and subscription status. TanStack React Query manages all server state; Supabase Realtime subscriptions feed live data back into the cache without polling. Session quiz progress is persisted to sessionStorage so users can close the tab and resume exactly where they left off.

Results

Measured outcomes.

7
Distinct question types with dedicated components and validation
11
Supabase Edge Functions covering the entire backend surface
<10s
From file upload to first interactive question
Showcase

How the system fits together.

4 of 20 views
kluuu-ai-quiz-platform.example
KLUUU quiz pipeline progress: reading, processing, generating and finalising stages
kluuu-ai-quiz-platform.example
KLUUU live quiz with a multiple-choice question and immediate correctness feedback
kluuu-ai-quiz-platform.example
KLUUU Stripe-backed subscription paywall with annual and weekly plans
kluuu-ai-quiz-platform.example
KLUUU — product screenshot
Roadmap

Estimated delivery sequence.

8 months
Weeks 1–5

Discovery & architecture

PDF, DOCX, image and TXT inputs up to 50 MB → text extraction or vision input → structured Gemini prompt → JSON questions → live interactive quiz with progress persisted to sessionStorage.

  • Quiz generation pipeline
Weeks 6–18

Core build

Multiple choice, true/false, short answer, multiple select, fill in the blank, ordering, numeric — each with a dedicated React component and both client- and server-side validation.

  • Seven question types
Weeks 19–25

Integrations & data

Checkout session creation, webhook processing, customer portal, and a Supabase Realtime listener that upgrades the client's access level within 500ms of a successful payment — no page refresh required.

  • Stripe subscription infrastructure
Weeks 26–33

Hardening & QA

Server-side streak computation with timezone stored per user — so a daily window is accurate in Tokyo and Berlin independently.

  • Learning streak engine
Weeks 34–35

Launch & handover

Five Brevo automation triggers: welcome, onboarding completion, Pro upgrade thank-you, cancellation win-back (with discount) and streak-at-risk reminder — all fired from a single Edge Function.

  • Lifecycle email automation

More work like this.

Every case study covers a product Coralsoft designed, built, and shipped for a client.