HMR (Hot Module Replacement)
When you modify code, itβs instantly reflected without server restart. Whether you modify Entity, Model, or API, 2 seconds is all you need.How HMR Works
Learn how the HMR system works internally
Sonamu UI
Define Entities, manage Subsets, and run Migrations directly in the web UI. No need to edit JSON manually.Sonamu UI Guide
Getting started with Sonamu UI
Fast Feedback Loop
Entity change β Auto-generate types/schemas β Re-register APIs β Update frontend Services β everything is automatic.What Syncer Does
- File Change Detection: Watches filesystem with chokidar
- ESM Cache Invalidation: Clears cache for changed modules and dependencies
- Auto Code Generation: Generates type, schema, and Service files
- Module Reload: Reloads with latest code
- API Re-registration: Re-registers changed API endpoints
Understanding Syncer
The core of the auto-generation system
Key Features Summary
HMR
Instant reflection without restartModify β Save β Test in 2 seconds
Sonamu UI
Visual Entity managementNo JSON editing required
Syncer
Auto-sync all codeTypes, schemas, Services
Type Error Detection
Compile errors on changePrevent runtime errors