Module Documentation
This directory contains developer documentation for each DentalPin module.
Available Modules
| Module | Description | Documentation |
|---|---|---|
| budget | Treatment quotes with versioning, signatures, and PDF | budget.md |
| verifactu | Spanish AEAT Veri*Factu compliance (mandatory 2027) — installation & operation manual | verifactu.md |
Module Documentation Structure
Each module documentation includes:
- Overview - Module purpose and structure
- Data Models - Database schema and relationships
- Workflow - State machine and transitions (if applicable)
- Events - Published and subscribed events
- Extension Points - How future modules can integrate
- API Endpoints - REST API reference
- Permissions - RBAC configuration
- Frontend Components - Vue components and composables
- Testing - How to run tests
- Migration Guide - Best practices for extending
Creating Module Documentation
When adding a new module, create {module_name}.md following the structure above. Key sections:
- Document all published events so other modules can subscribe
- List extension points for future integrations
- Include API endpoint reference with permissions
- Describe frontend components and their usage