What's New
Auto-redirect to Registration on Fresh Install
When no admin user exists in the database (fresh install), the system now automatically redirects to the registration page. This provides a streamlined onboarding experience for new SonicJS installations.
Features:
- New
adminSetupMiddlewarethat checks for admin existence using lazy initialization - First-time setup banner on registration page with clear instructions
- In-memory caching to minimize database queries (only one query per worker lifetime)
- SonicJS logo added to registration page matching the login page design
Installation
npm create sonicjs@latest my-appOr update existing project:
npm install @sonicjs-cms/core@2.4.0