Skip to content

Cloud Frontend

The Cloud Frontend is the primary web interface for Monozu Cloud end users. It communicates exclusively with the Cloud Backend API via REST and WebSockets.

ComponentTechnology
FrameworkReact 18
Build toolVite 8
LanguageTypeScript
RoutingReact Router 6
Server stateTanStack Query v5
Client stateZustand
UI componentsshadcn/ui + Radix UI primitives
StylingTailwind CSS
FormsReact Hook Form + Zod
HTTP clientAxios
Real-timeWebSocket (native)
Charts(varies per module)
Frontend/
├── src/
│ ├── App.tsx # Route definitions
│ ├── routes/ # Page components (organized by module)
│ │ ├── auth/ # Login, register, MFA, OAuth callback
│ │ ├── assets/ # CMDB asset pages
│ │ ├── incidents/ # ITSM incident pages
│ │ ├── security/ # SOC pages (optional module)
│ │ ├── vpn/ # VPN pages (optional module)
│ │ ├── backup/ # Backup pages (optional module)
│ │ ├── admin/ # Admin console (optional module)
│ │ └── ...
│ └── components/ # Shared UI components
├── lib/
│ ├── api/ # Axios API clients per domain
│ ├── stores/ # Zustand stores
│ ├── config/ # API URL config (api.ts)
│ ├── features.ts # Feature flag helpers
│ └── ...
└── types/ # TypeScript interfaces

These modules are available in every deployment regardless of feature flags:

ModuleRoutesBackend domain
Dashboard/dashboard
CMDB — Assets/assets/*assets
CMDB — Sites/sites/*sites
CMDB — Zones/VLANs/zones/*, /vlans/*zones
ITSM — Incidents/incidents/*incidents
ITSM — Problems/problems/*problems
ITSM — Changes/changes/*changes
ITSM — Releases/releases/*releases
ITSM — Service Requests/service-requests/*servicerequest
Maintenance Windows/maintenance/*maintenance
Knowledge Base/knowledge/*knowledge
Network Diagrams/diagrams/*diagrams
Vulnerabilities/vulnerabilities/*vulnerabilities
Vendors/vendors/*vendors
Settings/settings/*settings
NotificationsTopbar badgenotifications

Loaded from GET /api/v1/me/features after login. See Feature Flags for details.

ModuleRoute prefixFlag
Security SOC/security/*Server-side feature flag
VPN/vpn/*Server-side feature flag
Backup/backup/*Server-side feature flag
Admin Panel/admin/*VITE_ADMIN_PANEL_ENABLED=true