# itsuryansh/isim-lite architecture

> Architecture diagram of the GitHub repository itsuryansh/isim-lite, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/itsuryansh/isim-lite
- Repository: https://github.com/itsuryansh/isim-lite

## Overview

iSIM-Lite is a mobile-friendly student-portal wrapper. The user-facing flow is to initialize a session, authenticate against the official portal, then request profile and attendance data for the interface. The README documents attendance views and filtering; the sampled server excerpt shows session handling and portal requests, but not the full parsing logic or frontend implementation. Relationships involving the UI and documented product capabilities are therefore limited to what the README supports.

Main entry points: [`server.js`](https://github.com/itsuryansh/isim-lite/blob/main/server.js) (REST API), [`index.html`](https://github.com/itsuryansh/isim-lite/blob/main/index.html) (Student UI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Student interface"]
  node_ui["Student UI<br/>[index.html]"]
end

subgraph group_backend["Portal backend"]
  node_api["REST API<br/>[server.js]"]
  node_sessions["Session management<br/>[server.js]"]
  node_login["Portal login<br/>[server.js]"]
  node_profile["Profile integration<br/>[server.js]"]
  node_attendance["Attendance analytics<br/>[server.js]"]
end

subgraph group_portal["Official portal"]
  node_portal["GL Bajaj portal"]
end

node_student(("Student"))

node_student -->|"uses"| node_ui
node_ui -->|"requests data"| node_api
node_api -->|"manages"| node_sessions
node_api -->|"authenticates"| node_login
node_api -->|"serves profile"| node_profile
node_api -->|"serves attendance"| node_attendance
node_login -->|"authenticates with"| node_portal
node_profile -->|"fetches profile"| node_portal
node_attendance -->|"fetches attendance"| node_portal

click node_ui "https://github.com/itsuryansh/isim-lite/blob/main/index.html"
click node_api "https://github.com/itsuryansh/isim-lite/blob/main/server.js"
click node_sessions "https://github.com/itsuryansh/isim-lite/blob/main/server.js"
click node_login "https://github.com/itsuryansh/isim-lite/blob/main/server.js"
click node_profile "https://github.com/itsuryansh/isim-lite/blob/main/server.js"
click node_attendance "https://github.com/itsuryansh/isim-lite/blob/main/server.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_ui toneBlue
class node_api,node_sessions,node_login,node_profile,node_attendance toneAmber
class node_portal toneMint
class node_student toneIndigo
```

## Components

### Student interface

- [Student UI](https://github.com/itsuryansh/isim-lite/blob/main/index.html): `index.html`

### Portal backend

- [REST API](https://github.com/itsuryansh/isim-lite/blob/main/server.js): `server.js`
- [Session management](https://github.com/itsuryansh/isim-lite/blob/main/server.js): `server.js`
- [Portal login](https://github.com/itsuryansh/isim-lite/blob/main/server.js): `server.js`
- [Profile integration](https://github.com/itsuryansh/isim-lite/blob/main/server.js): `server.js`
- [Attendance analytics](https://github.com/itsuryansh/isim-lite/blob/main/server.js): `server.js`

### Official portal

- **GL Bajaj portal**

### Other components

- **Student**

## Connections

- Student → Student UI: uses (evidence: `README.md`)
- Student UI → REST API: requests data (evidence: `README.md`)
- REST API → Session management: manages (evidence: `server.js`)
- REST API → Portal login: authenticates (evidence: `server.js`)
- REST API → Profile integration: serves profile (evidence: `server.js`)
- REST API → Attendance analytics: serves attendance (evidence: `server.js`)
- Portal login → GL Bajaj portal: authenticates with (evidence: `README.md`)
- Profile integration → GL Bajaj portal: fetches profile (evidence: `server.js`)
- Attendance analytics → GL Bajaj portal: fetches attendance (evidence: `server.js`)
