How eltun2006/mathsystem works
MathPlatform is a web platform for teachers to organize student groups, create and assign math learning materials and exams, and review student activity. Teachers and students use the browser interface, which sends requests to the ASP.NET controllers; those controllers read and write the shared entity model through Entity Framework. The excerpts show authentication, teacher group/content/statistics operations, and student answer submission. Other frontend interactions and controller behavior are not fully sampled, so the graph omits relationships that cannot be evidenced.
Main entry points: app.js Browser application · AppDbContext.cs Entity Framework context · TeacherController.cs Teacher operations · Program.cs ASP.NET host
Components 10
Web interface
- Browser application
public/js/app.js
API workflows
- Authentication
src/MathPlatform.API/Controllers/AuthController.cs - Teacher operations
src/MathPlatform.API/Controllers/TeacherController.cs - Student learning
src/MathPlatform.API/Controllers/StudentController.cs
Domain and persistence
- Domain entities
src/MathPlatform.Core/Entities/DomainEntities.cs - Entity Framework context
src/MathPlatform.Infrastructure/Data/AppDbContext.cs - Credential generator
src/MathPlatform.Infrastructure/Services/CredentialGeneratorService.cs
Application runtime
- ASP.NET host
Program.cs
Other components
- Teacher
- Student
Connections 12
- Teacher → Browser application: uses
public/js/app.js - Student → Browser application: uses
public/js/app.js - Browser application → Authentication: posts login
public/js/app.js - Browser application → Teacher operations: requests groups, content, stats
public/js/app.js - Browser application → Student learning: posts answers
public/js/app.js - Authentication → Entity Framework context: reads and writes
src/MathPlatform.API/Controllers/AuthController.cs - Teacher operations → Entity Framework context: reads and writes
src/MathPlatform.API/Controllers/TeacherController.cs - Teacher operations → Credential generator: generates credentials
src/MathPlatform.API/Controllers/TeacherController.cs - Student learning → Entity Framework context: reads and writes
src/MathPlatform.API/Controllers/StudentController.cs - Entity Framework context → Domain entities: maps entities
src/MathPlatform.Infrastructure/Data/AppDbContext.cs - ASP.NET host → Entity Framework context: configures and seeds
Program.cs - ASP.NET host → Credential generator: registers service
Program.cs