# gowshik-k/cietm-2026 architecture

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

- Interactive diagram: https://gitdiagram.com/gowshik-k/cietm-2026
- Repository: https://github.com/gowshik-k/cietm-2026

## Overview

CIETM 2026 is a conference-management platform for registration, manuscript handling, peer review, payments, and participant verification. The user workflow spans account creation and verification, paper submission, review and administration, payment, and certificate verification. The React app provides role-based dashboards, while Express routes dispatch to controller logic and MongoDB models. The README documents major features that are not fully represented in the sampled source; those are shown at subsystem level where exact implementation paths are unavailable. Connections reflect the excerpts and indexed references; unverified integrations are omitted.

Main entry points: [`client/src/App.jsx`](https://github.com/gowshik-k/cietm-2026/blob/main/client/src/App.jsx) (Route shell), [`server/controllers/registrationController.js`](https://github.com/gowshik-k/cietm-2026/blob/main/server/controllers/registrationController.js) (Registration and papers), [`server/routes/registrationRoutes.js`](https://github.com/gowshik-k/cietm-2026/blob/main/server/routes/registrationRoutes.js) (Registration routes), [`server/models/Registration.js`](https://github.com/gowshik-k/cietm-2026/blob/main/server/models/Registration.js) (Registration records)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Web application"]
  node_app["Route shell<br/>[App.jsx]"]
  node_authui["Auth context<br/>[AuthContext.jsx]"]
  node_protected["Role guard<br/>[ProtectedRoute.jsx]"]
  node_registerform["Registration form"]
  node_submissionform["Paper form"]
  node_authorui["Author dashboard<br/>[Dashboard.jsx]"]
  node_adminui["Admin dashboard<br/>[AdminDashboard.jsx]"]
  node_chairui["Chair dashboard<br/>[ChairDashboard.jsx]"]
  node_reviewerui["Reviewer dashboard"]
  node_home["Conference home<br/>[HomePage.jsx]"]
end

subgraph group_identity["Identity and access"]
  node_authroutes["Auth routes<br/>[authRoutes.js]"]
  node_authlogic["Account lifecycle<br/>[authController.js]"]
  node_users[("User accounts<br/>[User.js]")]
  node_pending[("Pending accounts<br/>[PendingUser.js]")]
  node_authmw["JWT role checks<br/>[authMiddleware.js]"]
end

subgraph group_conference["Conference operations"]
  node_regui["Registration and papers"]
  node_regroutes["Registration routes"]
  node_registrations[("Registration records<br/>[Registration.js]")]
  node_payments["Payment processing"]
  node_certificates["Certificate handling"]
  node_notifications["Notifications"]
  node_notificationstore[("Notification records<br/>[Notification.js]")]
  node_settings["Conference settings"]
  node_settingsstore[("Settings records<br/>[Settings.js]")]
end

subgraph group_platform["API and persistence"]
  node_server["Express API<br/>[index.js]"]
  node_database[("MongoDB<br/>[db.js]")]
end

subgraph group_integrations["External services"]
  node_cloudinary["Paper and image storage<br/>[cloudinary.js]"]
  node_mailer["Email delivery<br/>[sendEmail.js]"]
  node_paymentgateway["Payment gateway<br/>[payu.js]"]
  node_mailservice(("SMTP provider"))
end

node_attendee(("Participant / staff"))

node_attendee -->|"uses"| node_app
node_app -->|"provides auth"| node_authui
node_app -->|"guards routes"| node_protected
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_authorui
node_app -->|"routes to"| node_adminui
node_app -->|"routes to"| node_chairui
node_app -->|"routes to"| node_reviewerui
node_authui -->|"requests login"| node_authroutes
node_registerform -.->|"registers account"| node_authui
node_authorui -->|"renders form"| node_submissionform
node_server -->|"connects"| node_database
node_server -->|"mounts routes"| node_authroutes
node_server -->|"mounts routes"| node_regroutes
node_authroutes -->|"protects endpoints"| node_authmw
node_authroutes -->|"dispatches to"| node_authlogic
node_authlogic -->|"reads and writes"| node_users
node_authlogic -->|"manages pending"| node_pending
node_authlogic -->|"sends messages"| node_mailer
node_mailer -.->|"delivers email"| node_mailservice
node_regroutes -->|"protects endpoints"| node_authmw
node_regroutes -->|"dispatches to"| node_regui
node_regroutes -->|"uploads files"| node_cloudinary
node_regui -->|"reads and writes"| node_registrations
node_regui -->|"reads users"| node_users
node_regui -->|"creates alerts"| node_notifications
node_regui -->|"sends email"| node_mailer
node_notifications -->|"stores alerts"| node_notificationstore
node_payments -->|"updates payment"| node_registrations
node_payments -->|"notifies users"| node_notifications
node_certificates -->|"checks records"| node_registrations
node_settings -->|"reads and writes"| node_settingsstore
node_settings -->|"queries records"| node_registrations
node_cloudinary -->|"looks up papers"| node_registrations
node_reviewerui -.->|"review workflow"| node_regroutes
node_payments -.->|"gateway integration"| node_paymentgateway

click node_app "https://github.com/gowshik-k/cietm-2026/blob/main/client/src/App.jsx"
click node_authui "https://github.com/gowshik-k/cietm-2026/blob/main/client/src/context/AuthContext.jsx"
click node_protected "https://github.com/gowshik-k/cietm-2026/blob/main/client/src/components/ProtectedRoute.jsx"
click node_registerform "https://github.com/gowshik-k/cietm-2026/blob/main/client/src/components/RegistrationForm.jsx"
click node_submissionform "https://github.com/gowshik-k/cietm-2026/blob/main/client/src/components/SubmissionFormSingle.jsx"
click node_authorui "https://github.com/gowshik-k/cietm-2026/blob/main/client/src/pages/Dashboard.jsx"
click node_adminui "https://github.com/gowshik-k/cietm-2026/blob/main/client/src/pages/AdminDashboard.jsx"
click node_chairui "https://github.com/gowshik-k/cietm-2026/blob/main/client/src/pages/ChairDashboard.jsx"
click node_reviewerui "https://github.com/gowshik-k/cietm-2026/blob/main/client/src/pages/ReviewerDashboard.jsx"
click node_home "https://github.com/gowshik-k/cietm-2026/blob/main/client/src/pages/HomePage.jsx"
click node_authroutes "https://github.com/gowshik-k/cietm-2026/blob/main/server/routes/authRoutes.js"
click node_authlogic "https://github.com/gowshik-k/cietm-2026/blob/main/server/controllers/authController.js"
click node_users "https://github.com/gowshik-k/cietm-2026/blob/main/server/models/User.js"
click node_pending "https://github.com/gowshik-k/cietm-2026/blob/main/server/models/PendingUser.js"
click node_authmw "https://github.com/gowshik-k/cietm-2026/blob/main/server/middleware/authMiddleware.js"
click node_regui "https://github.com/gowshik-k/cietm-2026/blob/main/server/controllers/registrationController.js"
click node_regroutes "https://github.com/gowshik-k/cietm-2026/blob/main/server/routes/registrationRoutes.js"
click node_registrations "https://github.com/gowshik-k/cietm-2026/blob/main/server/models/Registration.js"
click node_payments "https://github.com/gowshik-k/cietm-2026/blob/main/server/controllers/paymentController.js"
click node_certificates "https://github.com/gowshik-k/cietm-2026/blob/main/server/controllers/certificateController.js"
click node_notifications "https://github.com/gowshik-k/cietm-2026/blob/main/server/controllers/notificationController.js"
click node_notificationstore "https://github.com/gowshik-k/cietm-2026/blob/main/server/models/Notification.js"
click node_settings "https://github.com/gowshik-k/cietm-2026/blob/main/server/controllers/settingsController.js"
click node_settingsstore "https://github.com/gowshik-k/cietm-2026/blob/main/server/models/Settings.js"
click node_server "https://github.com/gowshik-k/cietm-2026/blob/main/server/index.js"
click node_database "https://github.com/gowshik-k/cietm-2026/blob/main/server/config/db.js"
click node_cloudinary "https://github.com/gowshik-k/cietm-2026/blob/main/server/config/cloudinary.js"
click node_mailer "https://github.com/gowshik-k/cietm-2026/blob/main/server/utils/sendEmail.js"
click node_paymentgateway "https://github.com/gowshik-k/cietm-2026/blob/main/server/utils/payu.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_authui,node_protected,node_registerform,node_submissionform,node_authorui,node_adminui,node_chairui,node_reviewerui,node_home toneBlue
class node_authroutes,node_authlogic,node_users,node_pending,node_authmw toneAmber
class node_regui,node_regroutes,node_registrations,node_payments,node_certificates,node_notifications,node_notificationstore,node_settings,node_settingsstore toneMint
class node_server,node_database toneRose
class node_cloudinary,node_mailer,node_paymentgateway,node_mailservice,node_attendee toneIndigo
```

## Components

### Web application

- [Route shell](https://github.com/gowshik-k/cietm-2026/blob/main/client/src/App.jsx): `client/src/App.jsx`
- [Auth context](https://github.com/gowshik-k/cietm-2026/blob/main/client/src/context/AuthContext.jsx): `client/src/context/AuthContext.jsx`
- [Role guard](https://github.com/gowshik-k/cietm-2026/blob/main/client/src/components/ProtectedRoute.jsx): `client/src/components/ProtectedRoute.jsx`
- [Registration form](https://github.com/gowshik-k/cietm-2026/blob/main/client/src/components/RegistrationForm.jsx): `client/src/components/RegistrationForm.jsx`
- [Paper form](https://github.com/gowshik-k/cietm-2026/blob/main/client/src/components/SubmissionFormSingle.jsx): `client/src/components/SubmissionFormSingle.jsx`
- [Author dashboard](https://github.com/gowshik-k/cietm-2026/blob/main/client/src/pages/Dashboard.jsx): `client/src/pages/Dashboard.jsx`
- [Admin dashboard](https://github.com/gowshik-k/cietm-2026/blob/main/client/src/pages/AdminDashboard.jsx): `client/src/pages/AdminDashboard.jsx`
- [Chair dashboard](https://github.com/gowshik-k/cietm-2026/blob/main/client/src/pages/ChairDashboard.jsx): `client/src/pages/ChairDashboard.jsx`
- [Reviewer dashboard](https://github.com/gowshik-k/cietm-2026/blob/main/client/src/pages/ReviewerDashboard.jsx): `client/src/pages/ReviewerDashboard.jsx`
- [Conference home](https://github.com/gowshik-k/cietm-2026/blob/main/client/src/pages/HomePage.jsx): `client/src/pages/HomePage.jsx`

### Identity and access

- [Auth routes](https://github.com/gowshik-k/cietm-2026/blob/main/server/routes/authRoutes.js): `server/routes/authRoutes.js`
- [Account lifecycle](https://github.com/gowshik-k/cietm-2026/blob/main/server/controllers/authController.js): `server/controllers/authController.js`
- [User accounts](https://github.com/gowshik-k/cietm-2026/blob/main/server/models/User.js): `server/models/User.js`
- [Pending accounts](https://github.com/gowshik-k/cietm-2026/blob/main/server/models/PendingUser.js): `server/models/PendingUser.js`
- [JWT role checks](https://github.com/gowshik-k/cietm-2026/blob/main/server/middleware/authMiddleware.js): `server/middleware/authMiddleware.js`

### Conference operations

- [Registration and papers](https://github.com/gowshik-k/cietm-2026/blob/main/server/controllers/registrationController.js): `server/controllers/registrationController.js`
- [Registration routes](https://github.com/gowshik-k/cietm-2026/blob/main/server/routes/registrationRoutes.js): `server/routes/registrationRoutes.js`
- [Registration records](https://github.com/gowshik-k/cietm-2026/blob/main/server/models/Registration.js): `server/models/Registration.js`
- [Payment processing](https://github.com/gowshik-k/cietm-2026/blob/main/server/controllers/paymentController.js): `server/controllers/paymentController.js`
- [Certificate handling](https://github.com/gowshik-k/cietm-2026/blob/main/server/controllers/certificateController.js): `server/controllers/certificateController.js`
- [Notifications](https://github.com/gowshik-k/cietm-2026/blob/main/server/controllers/notificationController.js): `server/controllers/notificationController.js`
- [Notification records](https://github.com/gowshik-k/cietm-2026/blob/main/server/models/Notification.js): `server/models/Notification.js`
- [Conference settings](https://github.com/gowshik-k/cietm-2026/blob/main/server/controllers/settingsController.js): `server/controllers/settingsController.js`
- [Settings records](https://github.com/gowshik-k/cietm-2026/blob/main/server/models/Settings.js): `server/models/Settings.js`

### API and persistence

- [Express API](https://github.com/gowshik-k/cietm-2026/blob/main/server/index.js): `server/index.js`
- [MongoDB](https://github.com/gowshik-k/cietm-2026/blob/main/server/config/db.js): `server/config/db.js`

### External services

- [Paper and image storage](https://github.com/gowshik-k/cietm-2026/blob/main/server/config/cloudinary.js): `server/config/cloudinary.js`
- [Email delivery](https://github.com/gowshik-k/cietm-2026/blob/main/server/utils/sendEmail.js): `server/utils/sendEmail.js`
- [Payment gateway](https://github.com/gowshik-k/cietm-2026/blob/main/server/utils/payu.js): `server/utils/payu.js`
- **SMTP provider**

### Other components

- **Participant / staff**

## Connections

- Participant / staff → Route shell: uses (evidence: `README.md`)
- Route shell → Auth context: provides auth (evidence: `client/src/App.jsx`)
- Route shell → Role guard: guards routes (evidence: `client/src/App.jsx`)
- Route shell → Conference home: routes to (evidence: `client/src/App.jsx`)
- Route shell → Author dashboard: routes to (evidence: `client/src/App.jsx`)
- Route shell → Admin dashboard: routes to (evidence: `client/src/App.jsx`)
- Route shell → Chair dashboard: routes to (evidence: `client/src/App.jsx`)
- Route shell → Reviewer dashboard: routes to (evidence: `client/src/App.jsx`)
- Auth context → Auth routes: requests login (evidence: `client/src/context/AuthContext.jsx`)
- Registration form → Auth context: registers account
- Author dashboard → Paper form: renders form (evidence: `client/src/pages/Dashboard.jsx`)
- Express API → MongoDB: connects (evidence: `server/index.js`)
- Express API → Auth routes: mounts routes (evidence: `server/index.js`)
- Express API → Registration routes: mounts routes (evidence: `server/index.js`)
- Auth routes → JWT role checks: protects endpoints (evidence: `server/routes/authRoutes.js`)
- Auth routes → Account lifecycle: dispatches to (evidence: `server/routes/authRoutes.js`)
- Account lifecycle → User accounts: reads and writes (evidence: `server/controllers/authController.js`)
- Account lifecycle → Pending accounts: manages pending (evidence: `server/controllers/authController.js`)
- Account lifecycle → Email delivery: sends messages (evidence: `server/controllers/authController.js`)
- Email delivery → SMTP provider: delivers email
- Registration routes → JWT role checks: protects endpoints (evidence: `server/routes/registrationRoutes.js`)
- Registration routes → Registration and papers: dispatches to (evidence: `server/routes/registrationRoutes.js`)
- Registration routes → Paper and image storage: uploads files (evidence: `server/routes/registrationRoutes.js`)
- Registration and papers → Registration records: reads and writes (evidence: `server/controllers/registrationController.js`)
- Registration and papers → User accounts: reads users (evidence: `server/controllers/registrationController.js`)
- Registration and papers → Notifications: creates alerts (evidence: `server/controllers/registrationController.js`)
- Registration and papers → Email delivery: sends email (evidence: `server/controllers/registrationController.js`)
- Notifications → Notification records: stores alerts (evidence: `server/controllers/notificationController.js`)
- Payment processing → Registration records: updates payment (evidence: `server/controllers/paymentController.js`)
- Payment processing → Notifications: notifies users (evidence: `server/controllers/paymentController.js`)
- Certificate handling → Registration records: checks records (evidence: `server/controllers/certificateController.js`)
- Conference settings → Settings records: reads and writes (evidence: `server/controllers/settingsController.js`)
- Conference settings → Registration records: queries records (evidence: `server/controllers/settingsController.js`)
- Paper and image storage → Registration records: looks up papers (evidence: `server/config/cloudinary.js`)
- Reviewer dashboard → Registration routes: review workflow
- Payment processing → Payment gateway: gateway integration
