How k05572616-coder/student_mentorship works
Student Mentorship & Grievance Management is a web application for account access, mentor allocation and meetings, grievance submission and handling, and administrative oversight. Users interact through the browser UI; the Java server serves frontend assets and routes API requests to domain handlers, which access PostgreSQL. The sampled frontend confirms login, grievance, meeting, administration, and allocation requests. MentorshipApi and the database utilities are indexed but not excerpted, so their internal behavior is not detailed; frontend-to-handler links are shown as unverified HTTP relationships.
Main entry points: Main.java HTTP server · Database.java Database access · JsonUtil.java JSON utilities · AuthApi.java Accounts and auth
Components 12
Web interface
- Browser UI
student_mentorship/frontend/app.js - Static assets
student_mentorship/frontend/index.html
HTTP server
- HTTP server
student_mentorship/backend/Main.java
Domain APIs
- Accounts and auth
student_mentorship/backend/api/AuthApi.java - Grievance handling
student_mentorship/backend/api/GrievanceApi.java - Mentorship
student_mentorship/backend/api/MentorshipApi.java - Admin oversight
student_mentorship/backend/api/AdminApi.java
Persistence and utilities
- Database access
student_mentorship/backend/server/Database.java - PostgreSQL
- JSON utilities
student_mentorship/backend/server/JsonUtil.java - Database schema
student_mentorship/backend/schema.sql
Other components
- Students and staff
Connections 18
- Students and staff → Browser UI: use
- Browser UI → HTTP server: request API
- HTTP server → Static assets: serves
student_mentorship/backend/Main.java - HTTP server → Database access: initializes
student_mentorship/backend/Main.java - HTTP server → Accounts and auth: routes
student_mentorship/backend/Main.java - HTTP server → Grievance handling: routes
student_mentorship/backend/Main.java - HTTP server → Mentorship: routes
student_mentorship/backend/Main.java - HTTP server → Admin oversight: routes
student_mentorship/backend/Main.java - Accounts and auth → Database access: queries
student_mentorship/backend/api/AuthApi.java - Grievance handling → Database access: queries
student_mentorship/backend/api/GrievanceApi.java - Admin oversight → Database access: queries
student_mentorship/backend/api/AdminApi.java - Mentorship → Database access: queries
- Database access → PostgreSQL: accesses
- Database schema → PostgreSQL: defines tables
- Accounts and auth → JSON utilities: parses and sends
student_mentorship/backend/api/AuthApi.java - Grievance handling → JSON utilities: parses and sends
student_mentorship/backend/api/GrievanceApi.java - Admin oversight → JSON utilities: sends
student_mentorship/backend/api/AdminApi.java - HTTP server → JSON utilities: sends responses
student_mentorship/backend/Main.java