How crea7orx/aslet works
High-Level Architecture Components
a) Client Application Layer (ASLET Project)
• Use a rectangle labeled "Desktop Client (Avalonia UI)"
• Sub-components:
• Views (UI Components)
• ViewModels (MVVM Pattern)
• Models (Data Structures)
• Services (Including Genetic Algorithm)
b) Server Layer (ASLET.Server)
• Use a rectangle labeled "API Server"
• Sub-components:
• REST Controllers
• Services
• Database Context
• Authentication System
c) Data Layer
• Database symbol
• Entity relationships for:
• Users
• Timetables
• Classes
• Teachers
• Rooms
• Subjects
Key Interactions to Highlight
• Client-Server communication via REST API
• Database interactions
• Authentication flow
• Timetable generation process
Special Components to Emphasize
a) Genetic Algorithm System
• Chromosome representation
• NSGA-II implementation
• Fitness evaluation
• Constraint handling
b) Timetable Generation Pipeline
• Flow from:
• Input validation
• Schedule generation
• Optimization
• Result delivery
Technical Details
• Framework indicators:
• Avalonia UI (Client)
• ASP.NET Core (Server)
• Entity Framework Core (Data Access)
• JWT Authentication
Component Relationships
Clear connections between:
• Models and ViewModels
• Services and Controllers
• Database entities and DTOs
• Authentication service and protected resources