Skip to main content

Stack and tooling

What this page is about: the real runtime stack for idling.app__UI as of the current repo — not legacy marketing copy.

Application stack​

LayerChoice
FrameworkNext.js 16 (App Router, next build --webpack)
UIReact 19, CSS modules / SCSS (not Tailwind as the primary styling system)
AuthNextAuth.js (src/app/api/auth/[...nextauth])
DatabasePostgreSQL via project migrations
i18ntypesafe-i18n
Unit testsVitest (vitest.config.ts)
E2EPlaywright (pnpm e2e, pnpm e2e:headless)
Docs siteDocusaurus 3 (pnpm docs:build)

Common commands​

pnpm dev # Next dev (when not using Docker)
pnpm build # Production Next build
pnpm validate # tsc + stylelint
pnpm test # vitest run
pnpm test:coverage # vitest with coverage
pnpm e2e:headless # Playwright CI-style
pnpm docs:dev # Docusaurus on :3001
pnpm docs:build # Static docs build

Documentation ports​

ServicePort
Next.js app3000
Docusaurus docs3001
LibreTranslate (optional MT)5000

Architecture note​

Source is organized with CLAD-style boundaries in many areas (src/molecules/, services, adapters). See CLAD hub edition and the canonical living doc in the workspace repo docs/philosophy/clad.md (v0.7.0).

PWA / production build​

pnpm build runs prebuild / postbuild hooks that stamp CACHE_VERSION in public/sw.js from package.json version (scripts/update-sw-version.js). Service worker registration is production-only — see PWA.

Deprecated pointers​

Repo-root development.md and co-located stubs may still mention Jest, Yarn, or Next 14. This hub page wins when they disagree. Open a PR to add a deprecation banner to any orphan file you find.


Sources: package.json (engines, scripts), vitest.config.ts, next.config.js, docusaurus.config.js