How ccarrott/campuscare works
Campus Care is a university health-services platform that triages student needs through self-care guidance and symptom tracking, then supports nurse consultations and clinical escalation. Students check symptoms, use the campus health map, and book consultations; nurses manage availability and care; administrators manage accounts, reviews, exports, and operational trends. The diagram preserves those major capabilities and the server-side domain modules. Some subsystems are represented from README descriptions and the source index rather than sampled implementation; those links are documented or omitted where wiring is not evidenced.
Main entry points: appointments.controller.js Appointment booking · app.js Express application · auth.controller.js Authentication · availability.controller.js Nurse availability
Components 21
Web entry and access
- Express application
src/app.js - Role and record access
src/middleware/authorize.js - Authentication
src/modules/auth/auth.controller.js - MySQL database
src/config/database.js
Student care
- Profiles
src/modules/profile/profile.controller.js - Symptom triage
src/modules/symptoms/symptoms.controller.js - Clinical escalation
src/modules/symptoms/escalation.js - Campus health map
src/modules/trends/trends.controller.js
Consultations
- Appointment booking
src/modules/appointments/appointments.controller.js - Nurse availability
src/modules/availability/availability.controller.js - Video room service
src/modules/appointments/room.service.js - Ratings and reviews
src/modules/reviews/reviews.controller.js - Nurse care dashboard
src/modules/nurse/nurse.controller.js - Appointment reminders
src/modules/notifications/notifications.controller.js
Clinic operations
- Health trends
src/modules/trends/trends.controller.js - Public nurse profiles
src/modules/staff/staff.controller.js - Account administration
src/modules/admin/admin.controller.js - CSV export
src/modules/export/export.controller.js
Other components
- Student
- Nurse
- Administrator
Connections 27
- Student → Authentication: signs in
- Nurse → Authentication: signs in
- Administrator → Authentication: signs in
- Express application → Authentication: mounts routes
src/app.js - Express application → Role and record access: applies access
src/app.js - Express application → Appointment booking: routes requests
src/app.js - Express application → Campus health map: routes requests
src/app.js - Student → Symptom triage: logs symptoms
- Symptom triage → Clinical escalation: evaluates risk
src/modules/symptoms/symptoms.controller.js - Student → Campus health map: explores activity
- Student → Appointment booking: books consultations
- Appointment booking → Nurse availability: checks slots
src/modules/appointments/appointments.controller.js - Appointment booking → Video room service: provisions rooms
src/modules/appointments/appointments.controller.js - Student → Ratings and reviews: rates care
- Nurse → Nurse availability: sets availability
- Nurse → Nurse care dashboard: manages appointments
- Nurse care dashboard → Video room service: manages rooms
src/modules/nurse/nurse.controller.js - Student → Appointment reminders: receives reminders
- Administrator → Account administration: manages accounts
- Administrator → Ratings and reviews: moderates reviews
- Administrator → Health trends: reviews analytics
- Administrator → CSV export: exports reports
- Student → Profiles: manages profile
- Student → Public nurse profiles: views nurses
- Appointment booking → MySQL database: reads and writes
- Nurse availability → MySQL database: reads and writes
- Health trends → MySQL database: queries aggregates