Skip to main content
The Pixwel UI is the browser front end to the Pixwel API, for both end users and administrators. It lives under ui/ and is split into two apps: New development targets ui/3x. The rest of this page describes it.

Setup

Work in ui/3x with pnpm — its engines field says npm, but npm install fails there. Install with pnpm install. Node 22 (ui/3x/package.json engines).
For the full command list and how the bundle is built, see Webpack.

Structure

Everything below is under ui/3x/:

Inside modules/

Tooling

  • Build/serve — Webpack 5 (webpack.config.js); see Webpack.
  • Tests — Jest (jsdom) for unit tests and Cypress for E2E; see UI testing.
  • Linting — ESLint flat config (eslint.config.mjs) + Stylelint for SCSS, via pnpm lint. Husky runs lint-staged on commit.
  • Deploy — Vercel (ui/3x/vercel.json, ui/create-vercel-output.js).

More UI docs

  • Webpack — how the front end is built, served, and bundled.
  • UI testing — running and writing tests.
  • Video player — the in-app preview player.