Flexbox-Academy

Flexbox Academy

A pnpm workspace that powers the Flexbox Academy learning experience. The repo currently includes a Vite + React frontend, shared lesson/validation packages, and a Firebase Functions surface for server-verified progress.

Workspace layout

Getting started

pnpm install
pnpm dev # runs apps/web

Other useful scripts:

Next steps

  1. Connect Firebase: add firebase.json, initialize Firestore rules, and wire completeStep to stored progress writes.
  2. Interactive sandbox: embed the Monaco editor, iframe preview, and hook the validator package into client-side feedback.
  3. Expand content: flesh out additional stages and assertions in packages/content.
  4. Certificate pipeline: implement Puppeteer-based PDF generation in a new callable function and expose from the UI.
  5. Testing: add unit tests for validators (e.g., Vitest) plus Playwright coverage for the guided lessons once the sandbox ships.