LEARNORBIT ACADEMY · BUILD 25

Cloud Classroom &
AI Study Coach.

Build 25 transforms LearnOrbit from a strong single-device portfolio into a cloud-ready education platform for students, families and teachers—without losing offline access, exact maths or the premium student experience.

TECHNICAL ARCHITECTURE

Cloud power with local resilience.

01

Authentication

Supabase email verification, password recovery, PKCE sessions and optional Google OAuth for Student, Parent and Teacher roles.

02

Protected data

PostgreSQL tables and Row Level Security control who can read profiles, progress, classes, assignments, submissions and family summaries.

03

Local migration

Existing Build 24 profiles remain usable offline and can be sanitised and synced to the cloud after the first student login.

04

AI tutor

OpenAI handles broad learning and general questions; exact arithmetic runs locally; graded homework receives hints instead of ready-to-submit answers.

05

Resilient UX

Local sample data, offline PWA routes, safe retries, export tools and clear setup states prevent blank or confusing screens.

ASK KAMAL ENGINE

Broader answers. Better guardrails.

Ask Kamal is instructed to answer ordinary educational and general questions directly, adapt to Grade 3 through SS3, retain context and admit uncertainty. It blocks sexual content and harmful violent instructions, while Homework Help uses a Socratic approach for graded tasks.

  • Exact huge-number arithmetic runs locally
  • Primary and fallback OpenAI models
  • Retries, timeouts and clear diagnostic codes
  • Adaptive class-level language and six tutor modes
  • Private parent summaries suppress direct chat logs
Test Ask Kamal
AK
Ask KamalSocratic Homework Help
CONNECTED
I am stuck on this fractions assignment. Can you do it for me?
I won’t write the graded answer for you, but I can help you solve it. What have you tried first, and which two fractions are you comparing?
One hint at a timeClass-awarePrivate
🫐100% whole-wheat crustFresh blueberry filling · lemon · cinnamonOpen recipe →

RECIPES LAB

A complete whole-wheat blueberry pie lesson.

The Build 25 recipe now matches the full specification: 2½ cups whole-wheat pastry flour, a double cold-butter crust, six cups of blueberries, staged oven temperatures and a three-to-four-hour cooling period for a clean set.

View the recipe

100-POINT ACCEPTANCE STANDARD

Every build decision maps to the rubric.

15

Purpose & Impact

Secure cloud learning connects students, parents and teachers around visible progress and meaningful support.

20

Design & Visual Appeal

Role-based dashboards use a consistent orbit identity, responsive glass panels, clear hierarchy and polished data presentation.

20

User Experience

Guided cloud onboarding, invite codes, assignment filters, adaptive study plans, privacy summaries and mobile-first actions reduce friction.

20

Technical Achievement

Supabase Auth, PostgreSQL, Storage, RLS, optional OAuth, local-to-cloud migration, PWA fallback, uploads and CSV exports form a credible product foundation.

15

Creativity & Innovation

Ask Kamal becomes a proactive study coach with Socratic homework guardrails, adaptive plans, family summaries and exact offline maths.

10

Presentation & Communication

This page documents architecture, decisions, challenges, testing, privacy and deployment requirements.

100point target

Purpose, design, experience, engineering, originality and presentation are tested together—not treated as separate decorations.

DEPLOYMENT CHECKLIST

Activate the cloud features in four steps.

  1. 1
    Create a Supabase project

    Copy the Project URL and public publishable key.

  2. 2
    Run the database schema

    Open Supabase SQL Editor and run supabase/schema.sql.

  3. 3
    Add Vercel variables
    NEXT_PUBLIC_SUPABASE_URL=...
    NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=...
    OPENAI_API_KEY=...
  4. 4
    Configure Auth URLs

    Add the production domain and /cloud-account redirect URL in Supabase Auth settings, then redeploy.