# kadaripavani/2025yearlyproject-team7 architecture

> Architecture diagram of the GitHub repository kadaripavani/2025yearlyproject-team7, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-07). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/kadaripavani/2025yearlyproject-team7
- Repository: https://github.com/kadaripavani/2025yearlyproject-team7

## Overview

INFOVERSE is a role-based student, training, and placement-management platform. Users enter through the web app and role-specific dashboards; the backend exposes authenticated APIs for administration, training, student activity, placement coordination, and public content. The source index supports several controller-to-model and route-to-controller links, while the README provides no further product detail. Some capabilities are represented by their exact route or controller paths, but their internal behavior was not sampled.

Main entry points: [`backend/server.js`](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/server.js) (API server), [`backend/controllers/tpoController.js`](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/controllers/tpoController.js) (Placement coordination), [`backend/controllers/notificationController.js`](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/controllers/notificationController.js) (Notifications), [`backend/controllers/calendarController.js`](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/controllers/calendarController.js) (Calendar operations)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web experience"]
  node_app["Web app routing<br/>[App.jsx]"]
  node_student_portal["Student portal"]
  node_tpo_portal["TPO portal<br/>[TPODashboard.jsx]"]
  node_profile["Student profile<br/>[StudentProfile.jsx]"]
end

subgraph group_api["API and access"]
  node_api_server["API server<br/>[server.js]"]
  node_admin_routes["Admin routes<br/>[adminRoutes.js]"]
  node_tpo_routes["TPO routes<br/>[tpoRoutes.js]"]
  node_assignment_routes["Assignment routes"]
  node_feedback_routes["Feedback routes<br/>[feedbackRoutes.js]"]
  node_reference_routes["Reference routes<br/>[referenceRoutes.js]"]
  node_notification_routes["Notification routes"]
  node_general_auth["Role authentication<br/>[generalAuth.js]"]
  node_cloudinary["Cloudinary storage<br/>[cloudinary.js]"]
end

subgraph group_learning["Learning operations"]
  node_learning_ops["Learning activities"]
end

subgraph group_placement["Placement operations"]
  node_admin_ops["Administration<br/>[adminController.js]"]
  node_tpo_ops["Placement coordination<br/>[tpoController.js]"]
  node_calendar_ops["Calendar operations"]
  node_notification_ops["Notifications"]
end

subgraph group_records["Domain records"]
  node_student_data[("Student records<br/>[Student.js]")]
  node_batch_data[("Training batches")]
  node_regular_batch[("Cohort batches<br/>[Batch.js]")]
  node_calendar_data[("Calendar records<br/>[Calendar.js]")]
  node_notification_data[("Notification records<br/>[Notification.js]")]
  node_admin_data[("Admin accounts<br/>[Admin.js]")]
  node_tpo_data[("TPO accounts<br/>[TPO.js]")]
  node_trainer_data[("Trainer accounts<br/>[Trainer.js]")]
end

node_users(("Platform users"))

node_users -->|"use"| node_app
node_app -->|"routes to"| node_student_portal
node_app -->|"routes to"| node_tpo_portal
node_app -->|"routes to"| node_profile
node_app -.->|"requests APIs"| node_api_server
node_api_server -->|"mounts"| node_admin_routes
node_api_server -->|"mounts"| node_tpo_routes
node_api_server -->|"mounts"| node_assignment_routes
node_api_server -->|"mounts"| node_feedback_routes
node_api_server -->|"mounts"| node_reference_routes
node_api_server -->|"mounts"| node_notification_routes
node_admin_routes -->|"dispatches"| node_admin_ops
node_tpo_routes -->|"dispatches"| node_tpo_ops
node_assignment_routes -->|"authenticates"| node_general_auth
node_feedback_routes -->|"authenticates"| node_general_auth
node_reference_routes -->|"authenticates"| node_general_auth
node_notification_routes -->|"authenticates"| node_general_auth
node_admin_ops -->|"reads/writes"| node_admin_data
node_admin_ops -->|"reads/writes"| node_student_data
node_admin_ops -->|"reads/writes"| node_batch_data
node_admin_ops -->|"reads/writes"| node_regular_batch
node_tpo_ops -->|"reads"| node_student_data
node_tpo_ops -->|"reads"| node_batch_data
node_tpo_ops -->|"reads"| node_regular_batch
node_tpo_ops -->|"reads"| node_trainer_data
node_tpo_ops -->|"reads"| node_tpo_data
node_tpo_ops -->|"invokes"| node_notification_ops
node_calendar_ops -->|"reads/writes"| node_calendar_data
node_calendar_ops -->|"reads"| node_student_data
node_calendar_ops -->|"reads"| node_trainer_data
node_calendar_ops -->|"reads"| node_batch_data
node_calendar_ops -->|"invokes"| node_notification_ops
node_notification_ops -->|"reads/writes"| node_notification_data
node_notification_ops -->|"reads"| node_student_data
node_notification_ops -->|"reads"| node_admin_data
node_notification_ops -->|"reads"| node_tpo_data
node_notification_ops -->|"reads"| node_batch_data
node_assignment_routes -->|"configures uploads"| node_cloudinary
node_learning_ops -.->|"uses"| node_student_data

click node_app "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/frontend/src/App.jsx"
click node_student_portal "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/frontend/src/pages/student/StudentDashboard.jsx"
click node_tpo_portal "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/frontend/src/pages/tpo/TPODashboard.jsx"
click node_profile "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/frontend/src/pages/student/StudentProfile.jsx"
click node_api_server "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/server.js"
click node_admin_routes "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/routes/adminRoutes.js"
click node_tpo_routes "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/routes/tpoRoutes.js"
click node_assignment_routes "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/routes/AssignmentRoutes.js"
click node_feedback_routes "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/routes/feedbackRoutes.js"
click node_reference_routes "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/routes/referenceRoutes.js"
click node_notification_routes "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/routes/notificationRoutes.js"
click node_general_auth "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/middleware/generalAuth.js"
click node_admin_ops "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/controllers/adminController.js"
click node_tpo_ops "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/controllers/tpoController.js"
click node_calendar_ops "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/controllers/calendarController.js"
click node_notification_ops "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/controllers/notificationController.js"
click node_learning_ops "https://github.com/kadaripavani/2025yearlyproject-team7/tree/main/backend/controllers"
click node_student_data "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/models/Student.js"
click node_batch_data "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/models/PlacementTrainingBatch.js"
click node_regular_batch "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/models/Batch.js"
click node_calendar_data "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/models/Calendar.js"
click node_notification_data "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/models/Notification.js"
click node_admin_data "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/models/Admin.js"
click node_tpo_data "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/models/TPO.js"
click node_trainer_data "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/models/Trainer.js"
click node_cloudinary "https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/config/cloudinary.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app,node_student_portal,node_tpo_portal,node_profile,node_users toneBlue
class node_api_server,node_admin_routes,node_tpo_routes,node_assignment_routes,node_feedback_routes,node_reference_routes,node_notification_routes,node_general_auth,node_cloudinary toneAmber
class node_learning_ops toneMint
class node_admin_ops,node_tpo_ops,node_calendar_ops,node_notification_ops toneRose
class node_student_data,node_batch_data,node_regular_batch,node_calendar_data,node_notification_data,node_admin_data,node_tpo_data,node_trainer_data toneIndigo
```

## Components

### Web experience

- [Web app routing](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [Student portal](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/frontend/src/pages/student/StudentDashboard.jsx): `frontend/src/pages/student/StudentDashboard.jsx`
- [TPO portal](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/frontend/src/pages/tpo/TPODashboard.jsx): `frontend/src/pages/tpo/TPODashboard.jsx`
- [Student profile](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/frontend/src/pages/student/StudentProfile.jsx): `frontend/src/pages/student/StudentProfile.jsx`

### API and access

- [API server](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/server.js): `backend/server.js`
- [Admin routes](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/routes/adminRoutes.js): `backend/routes/adminRoutes.js`
- [TPO routes](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/routes/tpoRoutes.js): `backend/routes/tpoRoutes.js`
- [Assignment routes](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/routes/AssignmentRoutes.js): `backend/routes/AssignmentRoutes.js`
- [Feedback routes](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/routes/feedbackRoutes.js): `backend/routes/feedbackRoutes.js`
- [Reference routes](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/routes/referenceRoutes.js): `backend/routes/referenceRoutes.js`
- [Notification routes](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/routes/notificationRoutes.js): `backend/routes/notificationRoutes.js`
- [Role authentication](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/middleware/generalAuth.js): `backend/middleware/generalAuth.js`
- [Cloudinary storage](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/config/cloudinary.js): `backend/config/cloudinary.js`

### Learning operations

- [Learning activities](https://github.com/kadaripavani/2025yearlyproject-team7/tree/main/backend/controllers): `backend/controllers`

### Placement operations

- [Administration](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/controllers/adminController.js): `backend/controllers/adminController.js`
- [Placement coordination](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/controllers/tpoController.js): `backend/controllers/tpoController.js`
- [Calendar operations](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/controllers/calendarController.js): `backend/controllers/calendarController.js`
- [Notifications](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/controllers/notificationController.js): `backend/controllers/notificationController.js`

### Domain records

- [Student records](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/models/Student.js): `backend/models/Student.js`
- [Training batches](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/models/PlacementTrainingBatch.js): `backend/models/PlacementTrainingBatch.js`
- [Cohort batches](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/models/Batch.js): `backend/models/Batch.js`
- [Calendar records](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/models/Calendar.js): `backend/models/Calendar.js`
- [Notification records](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/models/Notification.js): `backend/models/Notification.js`
- [Admin accounts](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/models/Admin.js): `backend/models/Admin.js`
- [TPO accounts](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/models/TPO.js): `backend/models/TPO.js`
- [Trainer accounts](https://github.com/kadaripavani/2025yearlyproject-team7/blob/main/backend/models/Trainer.js): `backend/models/Trainer.js`

### Other components

- **Platform users**

## Connections

- Platform users → Web app routing: use (evidence: `frontend/src/App.jsx`)
- Web app routing → Student portal: routes to (evidence: `frontend/src/App.jsx`)
- Web app routing → TPO portal: routes to (evidence: `frontend/src/App.jsx`)
- Web app routing → Student profile: routes to (evidence: `frontend/src/App.jsx`)
- Web app routing → API server: requests APIs
- API server → Admin routes: mounts (evidence: `backend/server.js`)
- API server → TPO routes: mounts (evidence: `backend/server.js`)
- API server → Assignment routes: mounts (evidence: `backend/server.js`)
- API server → Feedback routes: mounts (evidence: `backend/server.js`)
- API server → Reference routes: mounts (evidence: `backend/server.js`)
- API server → Notification routes: mounts (evidence: `backend/server.js`)
- Admin routes → Administration: dispatches (evidence: `backend/routes/adminRoutes.js`)
- TPO routes → Placement coordination: dispatches (evidence: `backend/routes/tpoRoutes.js`)
- Assignment routes → Role authentication: authenticates (evidence: `backend/routes/AssignmentRoutes.js`)
- Feedback routes → Role authentication: authenticates (evidence: `backend/routes/feedbackRoutes.js`)
- Reference routes → Role authentication: authenticates (evidence: `backend/routes/referenceRoutes.js`)
- Notification routes → Role authentication: authenticates (evidence: `backend/routes/notificationRoutes.js`)
- Administration → Admin accounts: reads/writes (evidence: `backend/controllers/adminController.js`)
- Administration → Student records: reads/writes (evidence: `backend/controllers/adminController.js`)
- Administration → Training batches: reads/writes (evidence: `backend/controllers/adminController.js`)
- Administration → Cohort batches: reads/writes (evidence: `backend/controllers/adminController.js`)
- Placement coordination → Student records: reads (evidence: `backend/controllers/tpoController.js`)
- Placement coordination → Training batches: reads (evidence: `backend/controllers/tpoController.js`)
- Placement coordination → Cohort batches: reads (evidence: `backend/controllers/tpoController.js`)
- Placement coordination → Trainer accounts: reads (evidence: `backend/controllers/tpoController.js`)
- Placement coordination → TPO accounts: reads (evidence: `backend/controllers/tpoController.js`)
- Placement coordination → Notifications: invokes (evidence: `backend/controllers/tpoController.js`)
- Calendar operations → Calendar records: reads/writes (evidence: `backend/controllers/calendarController.js`)
- Calendar operations → Student records: reads (evidence: `backend/controllers/calendarController.js`)
- Calendar operations → Trainer accounts: reads (evidence: `backend/controllers/calendarController.js`)
- Calendar operations → Training batches: reads (evidence: `backend/controllers/calendarController.js`)
- Calendar operations → Notifications: invokes (evidence: `backend/controllers/calendarController.js`)
- Notifications → Notification records: reads/writes (evidence: `backend/controllers/notificationController.js`)
- Notifications → Student records: reads (evidence: `backend/controllers/notificationController.js`)
- Notifications → Admin accounts: reads (evidence: `backend/controllers/notificationController.js`)
- Notifications → TPO accounts: reads (evidence: `backend/controllers/notificationController.js`)
- Notifications → Training batches: reads (evidence: `backend/controllers/notificationController.js`)
- Assignment routes → Cloudinary storage: configures uploads (evidence: `backend/routes/AssignmentRoutes.js`)
- Learning activities → Student records: uses (evidence: `backend/controllers/tpoController.js`)
