# elynlowliying-glitch/airost-internship-project architecture

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

- Interactive diagram: https://gitdiagram.com/elynlowliying-glitch/airost-internship-project
- Repository: https://github.com/elynlowliying-glitch/airost-internship-project

## Overview

everyCENT is a browser-based university club finance and claims system. Members and treasurers use the application to sign in, manage activities and budgets, submit claims with receipts, review claims, and maintain or export financial records. The monolithic app.js implements these distinct stages and connects to Firebase services and Google Drive; configuration is separated into two small modules. The README documents the broader capabilities, while the sampled excerpts show only selected implementation paths, so some documented integrations are represented at that level.

Main entry points: [`app.js`](https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.js) (Application Logic), [`index.html`](https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/index.html) (Web Interface), [`firebase-config.js`](https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/firebase-config.js) (Firebase Config), [`drive-config.js`](https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/drive-config.js) (Drive Config)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Application"]
  node_app["Application Logic<br/>[app.js]"]
  node_interface["Web Interface<br/>[index.html]"]
end

subgraph group_finance["Club Finance"]
  node_dashboard["Financial Dashboard<br/>[app.js]"]
  node_activities["Activities &amp; Budgets<br/>[app.js]"]
  node_records["Financial Records<br/>[app.js]"]
  node_export["CSV Export<br/>[app.js]"]
end

subgraph group_claims["Claims Workflow"]
  node_claim_submission["Claim Submission<br/>[app.js]"]
  node_receipts["Receipt Upload<br/>[app.js]"]
  node_claim_review["Claim Review<br/>[app.js]"]
  node_member_roles["Role Management<br/>[app.js]"]
end

subgraph group_services["Backend Services"]
  node_auth["Authentication<br/>[app.js]"]
  node_firebase_config["Firebase Config<br/>[firebase-config.js]"]
  node_drive_config["Drive Config<br/>[drive-config.js]"]
  node_firebase_auth["Firebase Authentication"]
  node_firestore[("Cloud Firestore")]
  node_google_drive["Google Drive"]
end

node_member(("Member / Treasurer"))

node_member -->|"uses"| node_interface
node_interface -->|"hosts"| node_app
node_app -->|"imports"| node_firebase_config
node_app -->|"imports"| node_drive_config
node_app -->|"handles"| node_auth
node_auth -->|"signs in"| node_firebase_auth
node_app -->|"renders"| node_dashboard
node_app -->|"manages"| node_activities
node_activities -->|"saves"| node_firestore
node_app -->|"manages"| node_records
node_records -->|"reads"| node_firestore
node_app -->|"exports"| node_export
node_app -->|"handles"| node_claim_submission
node_claim_submission -->|"stores"| node_firestore
node_claim_submission -->|"accepts"| node_receipts
node_receipts -->|"uploads"| node_google_drive
node_app -->|"handles"| node_claim_review
node_claim_review -->|"updates"| node_firestore
node_app -->|"manages"| node_member_roles
node_member_roles -->|"reads"| node_firestore

click node_app "https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.js"
click node_interface "https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/index.html"
click node_auth "https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.js"
click node_firebase_config "https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/firebase-config.js"
click node_drive_config "https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/drive-config.js"
click node_dashboard "https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.js"
click node_activities "https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.js"
click node_records "https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.js"
click node_export "https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.js"
click node_claim_submission "https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.js"
click node_receipts "https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.js"
click node_claim_review "https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.js"
click node_member_roles "https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.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_interface toneBlue
class node_dashboard,node_activities,node_records,node_export toneAmber
class node_claim_submission,node_receipts,node_claim_review,node_member_roles toneMint
class node_auth,node_firebase_config,node_drive_config,node_firebase_auth,node_firestore,node_google_drive toneRose
class node_member toneIndigo
```

## Components

### Application

- [Application Logic](https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.js): `app.js`
- [Web Interface](https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/index.html): `index.html`

### Club Finance

- [Financial Dashboard](https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.js): `app.js`
- [Activities & Budgets](https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.js): `app.js`
- [Financial Records](https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.js): `app.js`
- [CSV Export](https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.js): `app.js`

### Claims Workflow

- [Claim Submission](https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.js): `app.js`
- [Receipt Upload](https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.js): `app.js`
- [Claim Review](https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.js): `app.js`
- [Role Management](https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.js): `app.js`

### Backend Services

- [Authentication](https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/app.js): `app.js`
- [Firebase Config](https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/firebase-config.js): `firebase-config.js`
- [Drive Config](https://github.com/elynlowliying-glitch/airost-internship-project/blob/main/drive-config.js): `drive-config.js`
- **Firebase Authentication**
- **Cloud Firestore**
- **Google Drive**

### Other components

- **Member / Treasurer**

## Connections

- Member / Treasurer → Web Interface: uses (evidence: `README.md`)
- Web Interface → Application Logic: hosts (evidence: `README.md`)
- Application Logic → Firebase Config: imports (evidence: `app.js`)
- Application Logic → Drive Config: imports (evidence: `app.js`)
- Application Logic → Authentication: handles (evidence: `README.md`)
- Authentication → Firebase Authentication: signs in (evidence: `README.md`)
- Application Logic → Financial Dashboard: renders (evidence: `app.js`)
- Application Logic → Activities & Budgets: manages (evidence: `app.js`)
- Activities & Budgets → Cloud Firestore: saves (evidence: `app.js`)
- Application Logic → Financial Records: manages (evidence: `README.md`)
- Financial Records → Cloud Firestore: reads (evidence: `app.js`)
- Application Logic → CSV Export: exports (evidence: `README.md`)
- Application Logic → Claim Submission: handles (evidence: `README.md`)
- Claim Submission → Cloud Firestore: stores (evidence: `README.md`)
- Claim Submission → Receipt Upload: accepts (evidence: `app.js`)
- Receipt Upload → Google Drive: uploads (evidence: `README.md`)
- Application Logic → Claim Review: handles (evidence: `README.md`)
- Claim Review → Cloud Firestore: updates (evidence: `app.js`)
- Application Logic → Role Management: manages (evidence: `README.md`)
- Role Management → Cloud Firestore: reads (evidence: `app.js`)
