Teaching Platform

Project brief

Project Overview
A teaching workspace with source-linked lessons, live classroom interactions, AI-assisted learning activities, and spaced-repetition practice.
My Contribution
Designed and built lesson import and publishing, teacher review, live classroom interactions, homework, and spaced-repetition practice.

The Problem

Lesson preparation, live teaching, homework, and vocabulary review need to stay connected without exposing private answer keys or changing work already assigned. Teachers need to review material before publication, while students need shared classroom activity and follow-up practice based on their own learning history.

100% Solo DevelopmentYaspeak vocabulary library, sentence-rephrasing exercise, and word-matching activity.
Yaspeak’s vocabulary library and interactive rephrasing and word-matching exercises.

The Engineering

A workspace connecting lesson preparation, live instruction, homework, and personalized vocabulary practice. Teachers import validated lesson packages, review private answer keys, and publish immutable revisions. Live classrooms share annotations and media while allowing independent student navigation. Gemini assists with vocabulary, unit reviews, and warm-ups; FSRS schedules follow-up practice.

How It Works

  1. Prepare and publish

    The teacher reviews lesson sources and private answer keys, then publishes a revision.

  2. Teach the lesson

    Teacher and student share annotations and media while navigating lesson pages independently.

  3. Assign homework

    Homework follows the published revision, adding responses and feedback to the student’s learning history.

  4. Review vocabulary

    Students practice lesson vocabulary, and their answers determine the next spaced-repetition review dates.

Engineering Decisions

The workspace brings together material that should stay fixed, classroom activity that changes continuously, and practice that adapts to each student. Keeping those responsibilities distinct lets teachers revise their material without disrupting assigned work or losing the connection to learning history.

Immutable lesson revisions

Later edits must not change lessons already assigned. Validated, reviewed lesson packages publish as immutable revisions, which sessions and homework reference directly; drafts and answer keys stay private throughout the publishing workflow.

Separate classroom state

Temporary classroom activity needs immediate updates without changing lesson content. Realtime Database handles presence, annotations, media, and navigation; Firestore stores lesson revisions and learning history, while trusted server functions validate publishing and grade homework.

Personalized review timing

Follow-up practice draws on each student’s learning history. FSRS schedules reviews, and server-side Gemini features prepare vocabulary and review activities; spending reservations and generation leases limit duplicate work during content generation.

System Architecture

System architecture — Teaching Platform

Live classroom

Teacher

Annotations, media and classroom activity.

  • React
Realtime Database

Temporary room state and live updates.

  • Firebase
Student

Lesson navigation and responses.

  • React

Durable lesson content

Import draft

Validate lesson ZIPs and private answers.

  • Cloud Functions
Teacher review

Check accuracy and learner level.

Publish revision

Published lesson revisions for classes and homework.

  • Firestore

After class. Functions grade objective work; teachers review writing. Gemini assists preparation, FSRS schedules reviews, and Cloud Storage keeps source files.

FirebaseHosting serves the app; Cloud Functions process trusted operations.

The Results

A published lesson stays fixed for the classes and homework that reference it, so later edits do not change assigned work. Teachers review source-linked material and private answer keys before publishing; students receive shared classroom activity and their own learning records. Vocabulary practice uses each student’s review history to schedule the next FSRS session.