What problem does it solve?
Esposter file and folder organisation enforces a strict, per-file export pattern, clear separation of concerns (models, services, constants), and consistent naming across packages to reduce cognitive load and onboarding time.
Core Features & Use Cases
- One export per file — avoids bulk exports and clarifies responsibility.
- Co-located types and models — place interfaces/types under models/ and keep schemas close to usage.
- Alias-driven imports — adopt project-wide aliases (#shared, @@, @/) to simplify navigation.
- Constant maps and MIME types discipline — centralize constants and MIME-type mappings rather than ad-hoc lookups.
- File-length and documentation discipline — keep files within reasonable length and document architectural decisions.
Quick Start
Follow these conventions whenever creating or reorganizing files, exports, constants, or new packages to ensure consistent structure and naming throughout the repository.