How anujworld10/rps_school_roh works
This is a school management system with a React frontend and FastAPI backend. Public applicants submit inquiries and track or update them; staff review inquiries, schedule interviews, create admissions, verify required documents, and enroll approved applicants as students. Staff also manage classes, subjects, teachers, fees, and academic results, while role-specific portals expose teaching and student workflows. The README documents attendance and salary capabilities, though the frontend pages remain placeholders. Backend route excerpts show service dispatch, but most service and persistence relationships were not sampled, so those links are omitted rather than inferred.
Main entry points: session.py SQL database · App.tsx Web routes · api-client.ts API client · routes.py Admission routes
Components 27
Web application
- Web routes
frontend/src/App.tsx - Public application
frontend/src/pages/public-admissions-pages.tsx - Student workflows
frontend/src/pages/student-registration-page.tsx - Staff workflows
frontend/src/pages/admissions-page.tsx - Role portals
frontend/src/pages/role-portal-page.tsx - API client
frontend/src/lib/api/api-client.ts
Inquiry and admissions
- Public intake routes
app/api/v1/public/student/routes.py - Inquiry routes
app/api/v1/inquiries/routes.py - Inquiry service
app/services/inquiries.py - Interviews
app/api/v1/interviews/routes.py - Admission routes
app/api/v1/admissions/routes.py - Admission processing
app/services/inquiry_admissions.py - Enrollment
app/services/enrollment.py
School operations
- Student records
app/api/v1/students/routes.py - Classes
app/api/v1/classes/routes.py - Teachers
app/api/v1/teachers/routes.py - Academics
app/api/v1/academics/routes.py - Fees
app/api/v1/fees/routes.py - Role portal
app/api/v1/role_portal/routes.py - Dashboard
app/api/v1/dashboard/routes.py
API and identity
- FastAPI service
app/main.py - Authentication
app/api/v1/auth/routes.py - Auth service
app/services/auth.py
Persistence
- SQL database
app/db/session.py - Admission documents
app/utils/file_storage.py
Other components
- Applicant
- School staff
Connections 25
- Applicant → Public application: submits or tracks
- School staff → Staff workflows: manages records
- School staff → Role portals: uses portal
- Web routes → Public application: routes to
frontend/src/App.tsx - Web routes → Student workflows: routes to
frontend/src/App.tsx - Web routes → Staff workflows: routes to
frontend/src/App.tsx - Web routes → Role portals: routes to
frontend/src/App.tsx - Public application → API client: calls API
- Staff workflows → API client: calls API
- Role portals → API client: calls API
- API client → FastAPI service: sends requests
- FastAPI service → SQL database: checks readiness
app/main.py - FastAPI service → Public intake routes: mounts routes
- Authentication → Auth service: dispatches auth
app/api/v1/auth/routes.py - Public intake routes → Inquiry service: handles inquiries
app/api/v1/public/student/routes.py - Inquiry routes → Inquiry service: dispatches inquiries
app/api/v1/inquiries/routes.py - Admission routes → Admission processing: processes admissions
app/api/v1/admissions/routes.py - Admission routes → Enrollment: enrolls approved
app/api/v1/admissions/routes.py - Student records → SQL database: uses session
app/api/v1/students/routes.py - Classes → SQL database: uses session
app/api/v1/classes/routes.py - Teachers → SQL database: uses session
app/api/v1/teachers/routes.py - Academics → SQL database: uses session
app/api/v1/academics/routes.py - Fees → SQL database: uses session
app/api/v1/fees/routes.py - Role portal → SQL database: uses session
app/api/v1/role_portal/routes.py - Admission routes → Admission documents: serves document
app/api/v1/admissions/routes.py