How censofna/budget-ui works
Century Budget UI is an Angular administration workspace scaffold, with platform and company-scoped areas for authentication, companies and organisations, users, and roles. The principal user journey is to enter through authentication, reach the guarded platform shell, then navigate to a management area; route definitions show the available pages and scopes. Authentication supports local login, OTP verification, Microsoft Entra callbacks, session refresh, and logout. The README describes a deliberately light production shell and shared UI primitives. Page-to-service interactions beyond the sampled authentication service are not established by the excerpts, so those links are omitted.
Main entry points: app.routes.ts Application Routes · auth.service.ts Session and Permissions · auth.routes.ts Authentication Routes · company-management.routes.ts Company Admin Routes
Components 22
Access and Shell
- Application Routes
src/app/app.routes.ts - Authentication Routes
src/app/features/auth/auth.routes.ts - Login and Callback
src/app/features/auth - Session and Permissions
src/app/core/services/auth.service.ts - Platform Shell
src/app/layouts/platform-shell/platform-shell.component.ts - Dashboard
src/app/features/dashboard
Company Structure
- Company Admin Routes
src/app/features/company-management/company-management.routes.ts - Company and Organisation Pages
src/app/features/company-management - Company Setup
src/app/features/company-admin/company-admin.routes.ts - Organisation Tree
src/app/features/organisation-management/organisation-tree-page/organisation-tree-page.component.ts - Company Data
src/app/core/services/company-data.service.ts
Identity and Roles
- System User Routes
src/app/features/user-management/user-management.routes.ts - System User Management
src/app/features/user-management - System Role Routes
src/app/features/role-management/role-management.routes.ts - System Role Management
src/app/features/role-management - Business Role Routes
src/app/features/business-role-management/business-role-management.routes.ts - Business Role Management
src/app/features/business-role-management - Tenant User Routes
src/app/features/tenant-user-management/tenant-user-management.routes.ts - Tenant User Management
src/app/features/tenant-user-management
Shared Interface
- Shared UI Components
src/app/shared/components
Other components
- Administrator
- Authentication API
Connections 18
- Application Routes → Authentication Routes: loads
src/app/app.routes.ts - Application Routes → Platform Shell: hosts
src/app/app.routes.ts - Authentication Routes → Login and Callback: routes to
src/app/features/auth/auth.routes.ts - Session and Permissions → Authentication API: requests
src/app/core/services/auth.service.ts - Session and Permissions → Company Data: reads roles
src/app/core/services/auth.service.ts - Application Routes → Dashboard: loads
src/app/app.routes.ts - Application Routes → Company Admin Routes: loads
src/app/app.routes.ts - Company Admin Routes → Company and Organisation Pages: routes to
src/app/features/company-management/company-management.routes.ts - Application Routes → Company Setup: loads
src/app/app.routes.ts - Company Setup → Organisation Tree: routes to
src/app/features/company-admin/company-admin.routes.ts - Application Routes → System User Routes: loads
src/app/app.routes.ts - System User Routes → System User Management: routes to
- Application Routes → System Role Routes: loads
src/app/app.routes.ts - System Role Routes → System Role Management: routes to
src/app/features/role-management/role-management.routes.ts - Application Routes → Business Role Routes: loads
src/app/app.routes.ts - Business Role Routes → Business Role Management: routes to
src/app/features/business-role-management/business-role-management.routes.ts - Application Routes → Tenant User Routes: loads
src/app/app.routes.ts - Tenant User Routes → Tenant User Management: routes to
src/app/features/tenant-user-management/tenant-user-management.routes.ts