This folder contains a practical style guide for projects of ISAA:
- Monorepo with
pnpmworkspaces - TypeScript everywhere
- Nuxt 4 + Vue 3 (web)
- Hono 4 + Zod/OpenAPI (api)
- Shared package for cross-app contracts
The goal is to keep standards easy to enforce in this project now, and reusable in future projects with the same technologies.
coding-style.md | architecture-style.md | logging-guide.md | unit-testing-guide.md | migrations-guide.md | rbac-standards-guide.md
coding-style.md- Day-to-day coding conventions with concrete examples and Mermaid diagrams.architecture-style.md- Architectural conventions with module templates, sequence diagrams, and decision flows.logging-guide.md- Logging standardsunit-testing-guide.md- Unit testing standards, patterns, and anti-patterns.migrations-guide.md- Directus migration mechanism, workflow, and safety rules.rbac-standards-guide.md- RBAC guide
- Adopt
coding-style.mdimmediately for all new code. - Use
architecture-style.mdwhen creating or changing modules/features. - Stay consistent with
logging-guide.md. - Follow
unit-testing-guide.mdfor unit test structure and coverage expectations. - Apply
migrations-guide.mdfor all Directus schema/data changes. - During code review, require at least one referenced rule from each guide for non-trivial PRs.