How nqthangcs/cloud-deployments-seminar-assignment works
This is a student grade-appeal portal. A student submits an assignment and reason through the React interface; the Flask API validates the request, generates a randomized verdict and response, stores the appeal, and returns it for display in the appeal history. The interface also fetches existing appeals and reports API connectivity. The graph includes the database model and logging layer; deployment and infrastructure files are excluded. Evidence is limited to the README and the sampled or indexed source files, so unsampled behavior is not inferred.
Main entry points: grade_appeal_route.py Appeal endpoints · app.py Flask application · App.jsx Portal shell · Appeals.jsx Appeal form and history
Components 12
Student portal
- React entry
frontend/src/main.jsx - Portal shell
frontend/src/App.jsx - Appeal form and history
frontend/src/Appeals.jsx
Appeal API
- Flask application
backend/app/app.py - Appeal endpoints
backend/app/routes/grade_appeal_route.py - Health endpoint
backend/app/routes/health.py - Verdict generator
backend/app/services/grade_appeal_service.py
Appeal persistence
- Appeal records
backend/app/models/GradeAppeal.py - SQL setup
backend/app/models/db_config.py - SQL database
Runtime support
- Application logger
backend/app/logger/logger_config.py
Other components
- Student
Connections 13
- React entry → Portal shell: renders
frontend/src/main.jsx - Student → Appeal form and history: submits appeal
frontend/src/Appeals.jsx - Portal shell → Appeal form and history: renders
frontend/src/App.jsx - Portal shell → Flask application: checks API
frontend/src/App.jsx - Appeal form and history → Appeal endpoints: fetches appeals
frontend/src/Appeals.jsx - Flask application → Appeal endpoints: registers
backend/app/app.py - Flask application → Health endpoint: registers
backend/app/app.py - Flask application → SQL setup: initializes database
backend/app/app.py - Appeal endpoints → Verdict generator: generates verdict
backend/app/routes/grade_appeal_route.py - Appeal endpoints → Appeal records: reads and creates
backend/app/routes/grade_appeal_route.py - Appeal endpoints → Application logger: logs errors
backend/app/routes/grade_appeal_route.py - Appeal records → SQL setup: uses SQLAlchemy
backend/app/models/GradeAppeal.py - SQL setup → SQL database: configures and creates tables
backend/app/models/db_config.py