# nandanidabhi/svit-project architecture

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

- Interactive diagram: https://gitdiagram.com/nandanidabhi/svit-project
- Repository: https://github.com/nandanidabhi/svit-project

## Overview

SVIT-Project appears to be an I-Volunteer web portal for volunteers and schools, with event creation and participation, donations, and administrative functions. The likely user journey is account registration or login, followed by profile or event activity and persistence in MySQL. The sampled servlets confirm registration, profile editing, event creation, and donation handling; the source index also identifies authentication, contact, admin, and email modules. The README provides no capability detail, and JSP-to-servlet routing is not shown, so those connections are omitted.

Main entry points: [`src/com/util/Dbutil.java`](https://github.com/nandanidabhi/svit-project/blob/master/src/com/util/Dbutil.java) (Database Connection), [`WebContent/src/com/controller/EmailUtilityReg.java`](https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/EmailUtilityReg.java) (Account Email), [`WebContent/src/com/controller/vol_reg.java`](https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/vol_reg.java) (Volunteer Registration), [`WebContent/src/com/controller/School_reg.java`](https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/School_reg.java) (School Registration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_accounts["Accounts and Profiles"]
  node_volunteer_registration["Volunteer Registration<br/>[vol_reg.java]"]
  node_alternate_volunteer_registration["Volunteer Registration<br/>[vol_reg.java]"]
  node_volunteer_profile["Volunteer Profile Editing"]
  node_school_registration["School Registration<br/>[School_reg.java]"]
  node_school_profile["School Profile Editing"]
  node_login["Login Validation"]
  node_admin_login["Admin Login<br/>[Admin_login.java]"]
end

subgraph group_events["Events and Participation"]
  node_teacher_events["Teacher Event Posting<br/>[TeacherEvent.java]"]
  node_camp_events["Camp Event Posting<br/>[CampEvent.java]"]
  node_other_volunteer_events["Other Volunteer Events<br/>[OtherVolEvent.java]"]
  node_event_applications["Event Applications"]
  node_school_event_root["Teacher Event Posting<br/>[TeacherEvent.java]"]
  node_camp_event_root["Camp Event Posting<br/>[CampEvent.java]"]
end

subgraph group_services["Portal Services"]
  node_donations["Donations<br/>[Donation.java]"]
  node_contact["Contact Requests<br/>[contactus.java]"]
  node_account_email["Account Email"]
  node_password_email["Password Email<br/>[EmailUtility.java]"]
  node_donation_root["Donations<br/>[Donation.java]"]
end

subgraph group_persistence["Persistence"]
  node_database[("MySQL Database")]
  node_connection_utility["Database Connection<br/>[Dbutil.java]"]
end

node_volunteer_registration -->|"writes registration"| node_database
node_volunteer_registration -->|"sends welcome"| node_account_email
node_alternate_volunteer_registration -->|"gets connection"| node_connection_utility
node_volunteer_profile -->|"updates profile"| node_database
node_school_registration -->|"writes school"| node_database
node_school_registration -->|"sends welcome"| node_account_email
node_school_profile -->|"updates profile"| node_database
node_login -->|"checks credentials"| node_database
node_admin_login -->|"checks credentials"| node_database
node_teacher_events -->|"writes event"| node_database
node_camp_events -->|"writes event"| node_database
node_other_volunteer_events -->|"uses database"| node_database
node_donations -->|"writes donation"| node_database
node_contact -->|"uses database"| node_database
node_password_email -->|"uses database"| node_database
node_password_email -->|"uses mail utility"| node_account_email
node_school_event_root -->|"gets connection"| node_connection_utility
node_camp_event_root -->|"gets connection"| node_connection_utility
node_donation_root -->|"gets connection"| node_connection_utility
node_connection_utility -->|"opens connection"| node_database

click node_volunteer_registration "https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/vol_reg.java"
click node_alternate_volunteer_registration "https://github.com/nandanidabhi/svit-project/blob/master/src/com/controller/vol_reg.java"
click node_volunteer_profile "https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/Vol_Edit_profile.java"
click node_school_registration "https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/School_reg.java"
click node_school_profile "https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/School_prf_edit.java"
click node_login "https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/login_validate.java"
click node_admin_login "https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/Admin_login.java"
click node_teacher_events "https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/TeacherEvent.java"
click node_camp_events "https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/CampEvent.java"
click node_other_volunteer_events "https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/OtherVolEvent.java"
click node_event_applications "https://github.com/nandanidabhi/svit-project/tree/master/WebContent"
click node_donations "https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/Donation.java"
click node_contact "https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/contactus.java"
click node_account_email "https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/EmailUtilityReg.java"
click node_password_email "https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/EmailUtility.java"
click node_school_event_root "https://github.com/nandanidabhi/svit-project/blob/master/src/com/controller/TeacherEvent.java"
click node_camp_event_root "https://github.com/nandanidabhi/svit-project/blob/master/src/com/controller/CampEvent.java"
click node_donation_root "https://github.com/nandanidabhi/svit-project/blob/master/src/com/controller/Donation.java"
click node_connection_utility "https://github.com/nandanidabhi/svit-project/blob/master/src/com/util/Dbutil.java"

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_volunteer_registration,node_alternate_volunteer_registration,node_volunteer_profile,node_school_registration,node_school_profile,node_login,node_admin_login toneBlue
class node_teacher_events,node_camp_events,node_other_volunteer_events,node_event_applications,node_school_event_root,node_camp_event_root toneAmber
class node_donations,node_contact,node_account_email,node_password_email,node_donation_root toneMint
class node_database,node_connection_utility toneRose
```

## Components

### Accounts and Profiles

- [Volunteer Registration](https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/vol_reg.java): `WebContent/src/com/controller/vol_reg.java`
- [Volunteer Registration](https://github.com/nandanidabhi/svit-project/blob/master/src/com/controller/vol_reg.java): `src/com/controller/vol_reg.java`
- [Volunteer Profile Editing](https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/Vol_Edit_profile.java): `WebContent/src/com/controller/Vol_Edit_profile.java`
- [School Registration](https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/School_reg.java): `WebContent/src/com/controller/School_reg.java`
- [School Profile Editing](https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/School_prf_edit.java): `WebContent/src/com/controller/School_prf_edit.java`
- [Login Validation](https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/login_validate.java): `WebContent/src/com/controller/login_validate.java`
- [Admin Login](https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/Admin_login.java): `WebContent/src/com/controller/Admin_login.java`

### Events and Participation

- [Teacher Event Posting](https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/TeacherEvent.java): `WebContent/src/com/controller/TeacherEvent.java`
- [Camp Event Posting](https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/CampEvent.java): `WebContent/src/com/controller/CampEvent.java`
- [Other Volunteer Events](https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/OtherVolEvent.java): `WebContent/src/com/controller/OtherVolEvent.java`
- [Event Applications](https://github.com/nandanidabhi/svit-project/tree/master/WebContent): `WebContent`
- [Teacher Event Posting](https://github.com/nandanidabhi/svit-project/blob/master/src/com/controller/TeacherEvent.java): `src/com/controller/TeacherEvent.java`
- [Camp Event Posting](https://github.com/nandanidabhi/svit-project/blob/master/src/com/controller/CampEvent.java): `src/com/controller/CampEvent.java`

### Portal Services

- [Donations](https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/Donation.java): `WebContent/src/com/controller/Donation.java`
- [Contact Requests](https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/contactus.java): `WebContent/src/com/controller/contactus.java`
- [Account Email](https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/EmailUtilityReg.java): `WebContent/src/com/controller/EmailUtilityReg.java`
- [Password Email](https://github.com/nandanidabhi/svit-project/blob/master/WebContent/src/com/controller/EmailUtility.java): `WebContent/src/com/controller/EmailUtility.java`
- [Donations](https://github.com/nandanidabhi/svit-project/blob/master/src/com/controller/Donation.java): `src/com/controller/Donation.java`

### Persistence

- **MySQL Database**
- [Database Connection](https://github.com/nandanidabhi/svit-project/blob/master/src/com/util/Dbutil.java): `src/com/util/Dbutil.java`

## Connections

- Volunteer Registration → MySQL Database: writes registration (evidence: `WebContent/src/com/controller/vol_reg.java`)
- Volunteer Registration → Account Email: sends welcome (evidence: `WebContent/src/com/controller/vol_reg.java`)
- Volunteer Registration → Database Connection: gets connection (evidence: `src/com/controller/vol_reg.java`)
- Volunteer Profile Editing → MySQL Database: updates profile (evidence: `WebContent/src/com/controller/Vol_Edit_profile.java`)
- School Registration → MySQL Database: writes school (evidence: `WebContent/src/com/controller/School_reg.java`)
- School Registration → Account Email: sends welcome (evidence: `WebContent/src/com/controller/School_reg.java`)
- School Profile Editing → MySQL Database: updates profile (evidence: `WebContent/src/com/controller/School_prf_edit.java`)
- Login Validation → MySQL Database: checks credentials (evidence: `WebContent/src/com/controller/login_validate.java`)
- Admin Login → MySQL Database: checks credentials (evidence: `WebContent/src/com/controller/Admin_login.java`)
- Teacher Event Posting → MySQL Database: writes event (evidence: `WebContent/src/com/controller/TeacherEvent.java`)
- Camp Event Posting → MySQL Database: writes event (evidence: `WebContent/src/com/controller/CampEvent.java`)
- Other Volunteer Events → MySQL Database: uses database (evidence: `WebContent/src/com/controller/OtherVolEvent.java`)
- Donations → MySQL Database: writes donation (evidence: `WebContent/src/com/controller/Donation.java`)
- Contact Requests → MySQL Database: uses database (evidence: `WebContent/src/com/controller/contactus.java`)
- Password Email → MySQL Database: uses database
- Password Email → Account Email: uses mail utility
- Teacher Event Posting → Database Connection: gets connection (evidence: `src/com/controller/TeacherEvent.java`)
- Camp Event Posting → Database Connection: gets connection (evidence: `src/com/controller/CampEvent.java`)
- Donations → Database Connection: gets connection (evidence: `src/com/controller/Donation.java`)
- Database Connection → MySQL Database: opens connection (evidence: `src/com/util/Dbutil.java`)
