# mira0316/rfid-system architecture

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

- Interactive diagram: https://gitdiagram.com/mira0316/rfid-system
- Repository: https://github.com/mira0316/rfid-system

## Overview

This is a Windows Forms student-record and attendance application. The visible workflow starts at the loading screen, proceeds through username/password authentication, then opens an administrator home interface for student listings and attendance records; a separate email lookup opens the student attendance screen, where time-in/out is recorded. Signup creates student records and sends verification email. The README advertises RFID scanning, but the sampled source shows no reader integration, so that capability is not represented as implemented. Other unsampled forms are omitted where their responsibilities are unclear.

Main entry points: [`Data.mdb`](https://github.com/mira0316/rfid-system/blob/main/Data.mdb) (Access database), [`Login with Database/Login.cs`](https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Login.cs) (Login), [`Login with Database/Home.cs`](https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Home.cs) (Admin home), [`Login with Database/Signup.cs`](https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Signup.cs) (Signup)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_startup_access["Startup &amp; access"]
  node_loading["Loading screen<br/>[Loading.cs]"]
  node_login["Login<br/>[Login.cs]"]
  node_signup["Signup<br/>[Signup.cs]"]
  node_registration_email["Verification email<br/>[Signup.cs]"]
end

subgraph group_admin["Administration"]
  node_home["Admin home<br/>[Home.cs]"]
  node_dashboard["Dashboard<br/>[Dashboard.cs]"]
  node_student_list["Student list<br/>[List.cs]"]
  node_records["Attendance records<br/>[Records.cs]"]
end

subgraph group_attendance["Attendance"]
  node_email_lookup["Email lookup<br/>[Email.cs]"]
  node_attendance_screen["Attendance entry<br/>[MainForm.cs]"]
end

subgraph group_records["Student data"]
  node_profile["Student profile<br/>[Profile.cs]"]
  node_database[("Access database<br/>[Data.mdb]")]
end

node_user(("User"))
node_smtp["Gmail SMTP"]

node_user -->|"starts"| node_loading
node_loading -->|"opens"| node_login
node_user -->|"authenticates"| node_login
node_login -->|"opens on success"| node_home
node_login -->|"opens signup"| node_signup
node_signup -->|"returns to"| node_login
node_home -->|"opens"| node_dashboard
node_home -->|"opens"| node_student_list
node_home -->|"opens"| node_records
node_home -->|"opens"| node_email_lookup
node_user -->|"submits email"| node_email_lookup
node_email_lookup -->|"opens"| node_attendance_screen
node_attendance_screen -->|"opens"| node_profile
node_signup -->|"inserts student"| node_database
node_login -->|"checks credentials"| node_database
node_email_lookup -->|"reads student"| node_database
node_attendance_screen -->|"records time"| node_database
node_profile -->|"reads and updates"| node_database
node_student_list -->|"reads students"| node_database
node_records -->|"reads attendance"| node_database
node_signup -->|"sends verification"| node_smtp

click node_loading "https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Loading.cs"
click node_login "https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Login.cs"
click node_signup "https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Signup.cs"
click node_home "https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Home.cs"
click node_dashboard "https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Dashboard.cs"
click node_student_list "https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/List.cs"
click node_records "https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Records.cs"
click node_email_lookup "https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Email.cs"
click node_attendance_screen "https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/MainForm.cs"
click node_profile "https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Profile.cs"
click node_registration_email "https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Signup.cs"
click node_database "https://github.com/mira0316/rfid-system/blob/main/Data.mdb"

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_loading,node_login,node_signup,node_registration_email,node_user toneBlue
class node_home,node_dashboard,node_student_list,node_records toneAmber
class node_email_lookup,node_attendance_screen toneMint
class node_profile,node_database toneRose
class node_smtp toneIndigo
```

## Components

### Startup & access

- [Loading screen](https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Loading.cs): `Login with Database/Loading.cs`
- [Login](https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Login.cs): `Login with Database/Login.cs`
- [Signup](https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Signup.cs): `Login with Database/Signup.cs`
- [Verification email](https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Signup.cs): `Login with Database/Signup.cs`

### Administration

- [Admin home](https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Home.cs): `Login with Database/Home.cs`
- [Dashboard](https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Dashboard.cs): `Login with Database/Dashboard.cs`
- [Student list](https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/List.cs): `Login with Database/List.cs`
- [Attendance records](https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Records.cs): `Login with Database/Records.cs`

### Attendance

- [Email lookup](https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Email.cs): `Login with Database/Email.cs`
- [Attendance entry](https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/MainForm.cs): `Login with Database/MainForm.cs`

### Student data

- [Student profile](https://github.com/mira0316/rfid-system/blob/main/Login%20with%20Database/Profile.cs): `Login with Database/Profile.cs`
- [Access database](https://github.com/mira0316/rfid-system/blob/main/Data.mdb): `Data.mdb`

### Other components

- **User**
- **Gmail SMTP**

## Connections

- User → Loading screen: starts
- Loading screen → Login: opens (evidence: `Login with Database/Loading.cs`)
- User → Login: authenticates (evidence: `Login with Database/Login.cs`)
- Login → Admin home: opens on success (evidence: `Login with Database/Login.cs`)
- Login → Signup: opens signup (evidence: `Login with Database/Login.cs`)
- Signup → Login: returns to (evidence: `Login with Database/Signup.cs`)
- Admin home → Dashboard: opens (evidence: `Login with Database/Home.cs`)
- Admin home → Student list: opens (evidence: `Login with Database/Home.cs`)
- Admin home → Attendance records: opens (evidence: `Login with Database/Home.cs`)
- Admin home → Email lookup: opens (evidence: `Login with Database/Home.cs`)
- User → Email lookup: submits email (evidence: `Login with Database/Email.cs`)
- Email lookup → Attendance entry: opens (evidence: `Login with Database/Email.cs`)
- Attendance entry → Student profile: opens (evidence: `Login with Database/MainForm.cs`)
- Signup → Access database: inserts student (evidence: `Login with Database/Signup.cs`)
- Login → Access database: checks credentials (evidence: `Login with Database/Login.cs`)
- Email lookup → Access database: reads student (evidence: `Login with Database/Email.cs`)
- Attendance entry → Access database: records time (evidence: `Login with Database/MainForm.cs`)
- Student profile → Access database: reads and updates (evidence: `Login with Database/Profile.cs`)
- Student list → Access database: reads students (evidence: `Login with Database/List.cs`)
- Attendance records → Access database: reads attendance (evidence: `Login with Database/Records.cs`)
- Signup → Gmail SMTP: sends verification (evidence: `Login with Database/Signup.cs`)
