Aan de slag
Projectstructuur
Waar alles staat in de monorepo.
routess/
├── apps/
│ ├── web/ # React 19 + Vite + Mapbox SPA
│ ├── api/ # NestJS REST API
│ ├── cli/ # `routess` CLI (npm)
│ ├── landing/ # Marketing site (Next.js)
│ └── docs/ # This site (Next.js + Fumadocs)
├── packages/
│ ├── core/ # Shared types, stores, utils
│ ├── api-client/ # HTTP client (web + mobile adapters)
│ ├── i18n/ # Translation service + locales
│ └── design-tokens/# Colors, typography, spacing
├── charts/
│ └── routess/ # Helm chart for k8s deployment
├── docker/
│ ├── docker-bake.hcl # Build pipeline for app images
│ ├── Dockerfile.deps # Shared deps stage
│ ├── compose.yaml # Local Postgres + pgAdmin (dev)
│ ├── compose.selfhost.yaml # Full self-host stack
│ └── .env.selfhost.example # Self-host env template
├── .github/
│ └── workflows/ # CI/CD (single ci.yml)
├── biome.json # Lint rules
├── bunfig.toml # bun fmt and bun lint settings
└── package.json # Bun workspace rootWorkspace-dependencies
Apps hangen af van packages via workspace:*:
{
"dependencies": {
"@routess/core": "workspace:*",
"@routess/i18n": "workspace:*"
}
}Bun resolvet deze naar de lokale package; publiceren is niet nodig.