How adarshcoderealm/automated-paperless-transparent-college-system works
This is a paperless college administration platform: users enter through a protected dashboard and access applications and approvals, facility booking, complaints, budgets and sponsorships, elections, health and leave, and academic-integrity records. The backend exposes corresponding Express routes and controllers, with authentication and MongoDB-backed models. The graph connects frontend routing and backend dispatch where the supplied source shows them; most frontend-to-API calls and several feature implementations were not sampled, so those links are omitted.
Main entry points: App.jsx Web app router · app.js Express API · budgetAndSponsorshipTracking.routes.js Budget endpoints · user.model.js User records
Components 25
Student interface
- Web app router
frontend/src/App.jsx - Unified dashboard
frontend/src/pages/DashBoard.page.jsx - Authentication page
frontend/src/pages/Authentication.page.jsx
Identity and access
- Auth state
frontend/src/context/AuthContext.jsx - Account service
backend/src/controllers/user.controller.js - User records
backend/src/models/user.model.js - JWT verification
backend/src/middlewares/auth.middleware.js
Administration workflows
- Applications and approvals
frontend/src/pages/ApplicationApprovalSystem.jsx - Facility booking
backend/src/controllers/facilityBooking.controller.js - Booking endpoints
backend/src/routes/facilityBooking.routes.js - Budget interface
frontend/src/pages/BudgetSponsorshipTracking.jsx - Budget and sponsorship
backend/src/controllers/budgetAndSponsorshipTracking.controller.js - Budget endpoints
backend/src/routes/budgetAndSponsorshipTracking.routes.js - Financial records
backend/src/models/budgetAndSponsorship.model.js
Records and elections
- Complaint interface
frontend/src/pages/Complaint.page.jsx - Complaint handling
backend/src/controllers/complaint.controller.js - Complaint endpoints
backend/src/routes/complaint.routes.js - Elections portal
frontend/src/pages/Elections.jsx - Election service
backend/src/controllers/election.controller.js - Health and leave
frontend/src/pages/Health&Leave.page.jsx - Health records
backend/src/controllers/healthAndLeaveNotify.controller.js - Integrity records
frontend/src/pages/CheatingRecords.jsx - Integrity service
backend/src/controllers/integrityAndCheatingRecord.controller.js
Other components
- Students and staff
- Express API
backend/src/app.js
Connections 26
- Students and staff → Web app router: uses
- Web app router → Unified dashboard: routes to
frontend/src/App.jsx - Web app router → Authentication page: routes to
frontend/src/App.jsx - Web app router → Applications and approvals: routes to
frontend/src/App.jsx - Web app router → Budget interface: routes to
frontend/src/App.jsx - Web app router → Complaint interface: routes to
frontend/src/App.jsx - Web app router → Elections portal: routes to
frontend/src/App.jsx - Web app router → Health and leave: routes to
frontend/src/App.jsx - Web app router → Integrity records: routes to
frontend/src/App.jsx - Authentication page → Auth state: uses auth
frontend/src/pages/Authentication.page.jsx - Auth state → Express API: checks login
frontend/src/context/AuthContext.jsx - Express API → Budget endpoints: mounts
backend/src/app.js - Express API → Complaint endpoints: mounts
backend/src/app.js - Express API → Booking endpoints: mounts
backend/src/app.js - Budget endpoints → Budget and sponsorship: dispatches
backend/src/routes/budgetAndSponsorshipTracking.routes.js - Budget endpoints → JWT verification: verifies access
backend/src/routes/budgetAndSponsorshipTracking.routes.js - Budget and sponsorship → Financial records: reads and writes
backend/src/controllers/budgetAndSponsorshipTracking.controller.js - Complaint endpoints → Complaint handling: dispatches
backend/src/routes/complaint.routes.js - Complaint handling → User records: looks up reporter
backend/src/controllers/complaint.controller.js - Booking endpoints → Facility booking: dispatches
backend/src/routes/facilityBooking.routes.js - Express API → Election service: mounts route
backend/src/app.js - Express API → Health records: mounts route
backend/src/app.js - Express API → Integrity service: mounts route
backend/src/app.js - Express API → Account service: mounts route
backend/src/app.js - Account service → User records: manages accounts
backend/src/controllers/user.controller.js - JWT verification → User records: loads user
backend/src/middlewares/auth.middleware.js