How ranganamukunda19-dot/campuscare. works
CampusCare is a hostel-management web application. A user works through the React interface, which calls the FastAPI backend for hostel records and dashboard information; the backend serves domain APIs backed by relational storage. Separate branches provide attendance prediction, in-memory task scheduling, and ETL exports. The excerpts show frontend API calls, backend database access, and ETL/model handoffs; other domain routes and UI capabilities are included from the README, not independently inspected in source.
Main entry points: main.py FastAPI backend · pipeline.py ETL pipeline · App.jsx CampusCare UI · extract.py Data extraction
Components 19
Web client
- CampusCare UI
frontend/src/App.jsx
Hostel APIs
- FastAPI backend
backend/main.py - Student management
backend/main.py - Room management
backend/main.py - Room allocation
backend/main.py - Mess attendance
backend/main.py - Complaint management
backend/main.py - Dashboard
backend/main.py
Data processing
- Relational database
backend/db/database.py - ETL pipeline
backend/etl/pipeline.py - Data extraction
backend/etl/extract.py - Data transformation
backend/etl/transform.py - CSV export
backend/etl/load.py - Processed CSV files
backend/etl/load.py
Extensions
- Attendance prediction API
backend/main.py - Attendance model
backend/ml/attendance_model.py - Scheduling API
backend/main.py - In-memory task scheduler
backend/scheduling/scheduler.py
Other components
- Hostel user
Connections 19
- Hostel user → CampusCare UI: uses
README.md - CampusCare UI → FastAPI backend: calls API
README.md - FastAPI backend → Student management: routes requests
README.md - FastAPI backend → Room management: routes requests
README.md - FastAPI backend → Room allocation: routes requests
README.md - FastAPI backend → Mess attendance: routes requests
README.md - FastAPI backend → Complaint management: routes requests
README.md - FastAPI backend → Dashboard: routes requests
README.md - FastAPI backend → Relational database: queries and updates
backend/main.py - ETL pipeline → Data extraction: calls extraction
backend/etl/pipeline.py - ETL pipeline → Data transformation: calls transformation
backend/etl/pipeline.py - ETL pipeline → CSV export: calls loading
backend/etl/pipeline.py - Data extraction → Relational database: reads tables
backend/etl/extract.py - CSV export → Processed CSV files: writes CSV
backend/etl/load.py - Attendance model → Processed CSV files: reads attendance CSV
backend/ml/attendance_model.py - FastAPI backend → Attendance prediction API: routes prediction
README.md - Attendance prediction API → Attendance model: calls prediction
backend/main.py - FastAPI backend → Scheduling API: routes tasks
README.md - Scheduling API → In-memory task scheduler: delegates tasks
backend/main.py