How s35241607/lan-side-project works
High-Level Architecture Components
a) Frontend Layer (Top)
• React Client (Primary)
• Vue Client (Secondary/Alternative)
• Shared components like authentication, layouts, and state management
b) API Gateway/Backend Layer (Middle)
• ASP.NET Core 8 API
• Authentication/Authorization services
• Controllers layer
• Business Services layer
• Repository layer
c) Data Layer (Bottom)
• PostgreSQL Database
• Entity Framework Core context
• Migrations
Detailed Component Breakdown
Frontend Section:
• Modules:
• State Management (Redux/Pinia)
• API Integration Layer
• Authentication Components
• Layout Components
• View Components
Backend Section:
• Create distinct layers for:
• Controllers (AuthController, UserController, RoleController, etc.)
• Services (AuthService, UserService, RoleService, MailService)
• Repositories (Generic Repository pattern)
• Middleware (Exception Handling, Logging)
• Common Utilities (JWT, Mapper)
Connection Flows
• HTTP/HTTPS API calls between frontend and backend
• Database operations through Entity Framework
• Authentication flows (JWT token flow)
• File storage operations for user images
• Email service interactions
Technical Details
Annotations for:
• Technology versions (.NET 8, React/Vue, PostgreSQL)
• Communication protocols (REST)
• Security mechanisms (JWT)
• Database access (Entity Framework Core)
• State management solutions