How nazzz1324/lk-case2 works
This is a competency-assessment system with a React role-based interface and a .NET account/assessment API; the README also describes an Express backend as a frontend stub. The documented workflow covers administrator setup of users, groups, disciplines, competencies, indicators and professional roles; teachers score students; students view their profiles, disciplines and competencies. The graph keeps these domain stages distinct and includes authentication, persistence and shared result handling. Edges are limited to README statements and relationships visible in the SOURCE INDEX; unsampled frontend-to-backend wiring is not asserted.
Main entry points: App.tsx Routes and shell · AuthService.cs Authentication service · BaseRepository.cs Repository layer · Controllers Assessment endpoints
Components 22
Role-based UI
- Admin management
client/src/pages/admin - Teacher scoring UI
client/src/pages/teacher - Student views
client/src/pages/student - Login page
client/src/pages/Login.tsx - Routes and shell
client/src/App.tsx
API and services
- Auth endpoints
Account.api/Controllers/AuthController.cs - Assessment endpoints
Account.api/Controllers - Authentication service
Account.Application/Services/AuthService.cs - Student service
Account.Application/Services/StudentService.cs - Teacher scoring service
Account.Application/Services/TeacherService.cs - Catalog services
Account.Application/Services
Assessment domain
- Result and errors
Account.Domain/Result/BaseResult.cs - Accounts and roles
Account.Domain/Entity/AuthRoleEntities/User.cs - Assessment entities
Account.Domain/Entity/Competence.cs - Students and teachers
Account.Domain/Entity/Student.cs
Persistence
- Repository layer
Account.DAL/Repositories/BaseRepository.cs - Unit of work
Account.DAL/Repositories/UnitOfWork.cs - Application database
Account.DAL/ApplicationDbContext.cs
Other components
- Administrator
- Teacher
- Student
- Express stub
server/index.ts
Connections 22
- Administrator → Admin management: manages
- Teacher → Teacher scoring UI: scores students
- Student → Student views: views progress
- Routes and shell → Login page: routes to
client/src/App.tsx - Routes and shell → Admin management: routes to
client/src/App.tsx - Routes and shell → Teacher scoring UI: routes to
client/src/App.tsx - Routes and shell → Student views: routes to
client/src/App.tsx - Login page → Auth endpoints: auth wiring unclear
- Auth endpoints → Authentication service: delegates
- Assessment endpoints → Catalog services: delegates
Account.api/Controllers/CompetenceController.cs - Assessment endpoints → Student service: delegates
- Assessment endpoints → Teacher scoring service: delegates
- Authentication service → Repository layer: uses repositories
Account.Application/Services/AuthService.cs - Student service → Repository layer: uses repositories
Account.Application/Services/StudentService.cs - Teacher scoring service → Repository layer: uses repositories
Account.Application/Services/TeacherService.cs - Repository layer → Application database: uses context
Account.DAL/Repositories/BaseRepository.cs - Unit of work → Application database: coordinates persistence
- Authentication service → Accounts and roles: handles accounts
Account.Application/Services/AuthService.cs - Student service → Students and teachers: reads student data
Account.Application/Services/StudentService.cs - Teacher scoring service → Assessment entities: handles scores
Account.Application/Services/TeacherService.cs - Authentication service → Result and errors: returns results
Account.Application/Services/AuthService.cs - Express stub → Routes and shell: serves UI unclear