How repulsor272/sdo-back works
This repository combines an educational platform and a C# code-checking API. In the platform, users authenticate and access teaching, subject, task, and file/solution workflows backed by PostgreSQL; the C# API accepts code-check requests and runs tests through Roslyn. The Python README is empty, so platform capabilities are inferred from the source index and sampled files. Some routes and domain modules are unsampled; their nodes reflect the tree, while links are limited to documented imports or sampled wiring.
Main entry points: __init__.py Route registry · user_methods.py User operations · task_methods.py Task and solution operations · files.py File workflows
Components 33
Learning platform
- API application
Python-Monolith/app/main.py - Route registry
Python-Monolith/app/routers/__init__.py - File workflows
Python-Monolith/app/routers/files.py - Other routes
Python-Monolith/app/routers/other.py - File utilities
Python-Monolith/app/core/files/files.py
Identity and access
- User routes
Python-Monolith/app/routers/users.py - Authentication routes
Python-Monolith/app/routers/auth.py - Auth middleware
Python-Monolith/app/middleware/auth.py - Authorization checks
Python-Monolith/app/core/check_auth.py - JWT handling
Python-Monolith/app/core/jwt_handler.py - User operations
Python-Monolith/app/db/user_methods.py - User schemas
Python-Monolith/app/schemas/users.py - Auth schemas
Python-Monolith/app/schemas/auth.py
Academic data
- PostgreSQL models
Python-Monolith/app/db/db.py - Subject routes
Python-Monolith/app/routers/subjects.py - Teacher routes
Python-Monolith/app/routers/teachers.py - Student operations
Python-Monolith/app/db/student_methods.py - Task and solution operations
Python-Monolith/app/db/task_methods.py - Teacher operations
Python-Monolith/app/db/teacher_methods.py - Subject operations
Python-Monolith/app/db/subject_methods.py - Task schemas
Python-Monolith/app/schemas/task.py - Subject schemas
Python-Monolith/app/schemas/subject.py - Teacher schemas
Python-Monolith/app/schemas/teachers.py
C# code checker
- Code-check API
CDiazCodeLab/Controllers/CodeCheckController.cs - Check orchestration
CDiazCodeLab/Services/CodeCheckService.cs - Roslyn execution
CDiazCodeLab/Services/RoslynCodeRunner.cs - Test case model
CDiazCodeLab/Models/TestCase.cs - Test result model
CDiazCodeLab/Models/TestResult.cs - Check response model
CDiazCodeLab/Models/CodeCheckResult.cs - File metadata
CDiazCodeLab/Models/FileInfoModel.cs - API host
CDiazCodeLab/Program.cs
Other components
- Platform client
- Code-check requester
Connections 48
- Platform client → API application: requests
- API application → Route registry: mounts routes
Python-Monolith/app/main.py - Route registry → Authentication routes: registers
Python-Monolith/app/routers/__init__.py - Route registry → File workflows: registers
Python-Monolith/app/routers/__init__.py - Route registry → Other routes: registers
Python-Monolith/app/routers/__init__.py - Route registry → Subject routes: registers
Python-Monolith/app/routers/__init__.py - Route registry → Teacher routes: registers
Python-Monolith/app/routers/__init__.py - Route registry → User routes: registers
Python-Monolith/app/routers/__init__.py - API application → Auth middleware: configures
Python-Monolith/app/main.py - Auth middleware → JWT handling: validates tokens
Python-Monolith/app/middleware/auth.py - Authentication routes → JWT handling: issues tokens
Python-Monolith/app/routers/auth.py - Authentication routes → User operations: authenticates users
Python-Monolith/app/routers/auth.py - Authentication routes → Auth schemas: validates requests
Python-Monolith/app/routers/auth.py - Authorization checks → JWT handling: checks tokens
Python-Monolith/app/core/check_auth.py - File workflows → Authorization checks: checks access
Python-Monolith/app/routers/files.py - Subject routes → Authorization checks: checks access
Python-Monolith/app/routers/subjects.py - Teacher routes → Authorization checks: checks access
Python-Monolith/app/routers/teachers.py - Teacher routes → JWT handling: uses tokens
Python-Monolith/app/routers/teachers.py - File workflows → File utilities: uses file helpers
Python-Monolith/app/routers/files.py - File workflows → Task and solution operations: loads task data
Python-Monolith/app/routers/files.py - File workflows → User operations: loads user data
Python-Monolith/app/routers/files.py - File workflows → Student operations: uses student data
Python-Monolith/app/routers/files.py - Subject routes → Task and solution operations: uses task data
Python-Monolith/app/routers/subjects.py - Subject routes → Student operations: uses student data
Python-Monolith/app/routers/subjects.py - Subject routes → User operations: uses user data
Python-Monolith/app/routers/subjects.py - Teacher routes → Teacher operations: uses teacher data
Python-Monolith/app/routers/teachers.py - Teacher routes → Student operations: uses student data
Python-Monolith/app/routers/teachers.py - Teacher routes → User operations: uses user data
Python-Monolith/app/routers/teachers.py - Task and solution operations → Subject operations: looks up subjects
Python-Monolith/app/db/task_methods.py - User operations → User schemas: builds user data
Python-Monolith/app/db/user_methods.py - User operations → Auth schemas: accepts registration
Python-Monolith/app/db/user_methods.py - Student operations → Task and solution operations: uses task operations
Python-Monolith/app/db/student_methods.py - Teacher operations → Task and solution operations: uses task operations
Python-Monolith/app/db/teacher_methods.py - User operations → PostgreSQL models: queries and updates
Python-Monolith/app/db/user_methods.py - Task and solution operations → PostgreSQL models: queries and updates
Python-Monolith/app/db/task_methods.py - Student operations → PostgreSQL models: queries records
Python-Monolith/app/db/student_methods.py - Teacher operations → PostgreSQL models: queries records
Python-Monolith/app/db/teacher_methods.py - Subject operations → PostgreSQL models: queries records
- Task and solution operations → Task schemas: uses task types
Python-Monolith/app/db/task_methods.py - Teacher operations → Teacher schemas: uses teacher types
Python-Monolith/app/db/teacher_methods.py - Student operations → Subject schemas: uses subject types
Python-Monolith/app/db/student_methods.py - Code-check requester → Code-check API: submits code
- API host → Check orchestration: registers service
CDiazCodeLab/Program.cs - API host → Roslyn execution: registers runner
CDiazCodeLab/Program.cs - Code-check API → Check orchestration: runs checks
CDiazCodeLab/Controllers/CodeCheckController.cs - Check orchestration → Roslyn execution: executes test
CDiazCodeLab/Services/CodeCheckService.cs - Check orchestration → Test case model: accepts test case
CDiazCodeLab/Services/CodeCheckService.cs - Roslyn execution → Test case model: evaluates inputs
CDiazCodeLab/Services/RoslynCodeRunner.cs