Skip to content
Back to featured work
Internal ProductNext.jsTypeScriptDrizzle ORMV8 SandboxTailwind CSS

JavaScript Learning Platform

An interactive, sandboxed coding platform for learning JavaScript.

LCP Budget

<1.5s

Target Run Latency

<50ms

Target Rating

95+ Lighthouse

The Problem

Teaching coding requires direct interaction. Traditional tutorials rely on passive reading or video watching, leading to low retention. We needed to build a platform that allows users to write JavaScript code directly in the browser, execute it in an isolated, secure environment, and receive instant testing validation.

The Approach

We architected the platform using Next.js App Router and React. Instead of spinning up containerized backends for every user session, we designed an in-browser V8 execution sandbox inside a Web Worker thread, shielded from DOM access to prevent XSS. Tests run locally to generate immediate structured feedback.

The Outcome

Architected as an internal studio project. Designed to run in-browser V8 tests using Web Workers and structured evaluation pipelines to maintain fluid UI response.

Key Learnings

Web Worker communication overhead can introduce lag if data models are large. We optimized the execution pipeline by passing minimal JSON strings, keeping the main thread free for fluid UI interaction.

Build Details

Technologies Used

Next.js 16React 19Web WorkersPostgreSQLDrizzle ORMTailwind CSS

Quality Assurances

  • WCAG 2.2 AA Accessible
  • Input Sanitization Checked
  • Decoupled architecture ready

Interested in a similar build?

We can help you architect and build high-performance platforms, SaaS frameworks, or modern marketing frontends.