Skip to content

Technical reference

This section is aimed at developers and at whoever runs a ModuleCAD installation. It summarises what is in the repository; the detailed engineering documents live in docs/ (ADRs, PRDs, runbooks) and in each package’s CLAUDE.md files.

Stack

Layer Technology
3D rendering Three.js 0.170, React Three Fiber 9, drei 10
Interface React 19, Tailwind CSS 4, Radix UI, lucide-react, sonner
State Zustand 5 (one store per domain)
Routing React Router 7
Forms react-hook-form + zod 4
Internationalisation i18next (pt-BR and en)
Module versioning jsondiffpatch
DXF import dxf-parser
Bundler Vite 6
Monorepo Turborepo 2 + pnpm 9.15 workspaces
Language (front end) TypeScript 5.5, strict mode, ESM
Tests (front end) Vitest 2
Back end Python 3.12+, FastAPI, SQLAlchemy 2 (async), Alembic, Pydantic
Database PostgreSQL 16 (with the pg_trgm extension)
AI OpenRouter (default model: anthropic/claude-sonnet-4.5)
Hosting SPA on Netlify; API + Postgres on a VPS with Docker Compose; migration to a k3s cluster (Hetzner) in progress