# biplabroy-1/student-self-service-app architecture

> Architecture diagram of the GitHub repository biplabroy-1/student-self-service-app, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-01-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/biplabroy-1/student-self-service-app
- Repository: https://github.com/biplabroy-1/student-self-service-app

## Overview

##### Main Components Identification
The project appears to be a React Native mobile application with the following key components:

a) Client-Side Architecture:
- Navigation Layer
- UI Components Layer
- Page/Screen Layer
- Asset Management
- State Management (implied by the structure)

**┌─ User Interface Layer ─────────────────┐**
- Pages/Screens                       │
- Login                            │
- Dashboard                        │
- Profile                          │
- Subjects                         │
- Notes                            │
- Menu System                      │
- ┘

**┌─ Navigation Layer ──────────────────────┐**
- Tab Navigator                        │
- Menu Navigator                       │
- Notes Navigator                      │
- ┘

**┌─ Component Layer ──────────────────────┐**
- Navbar                              │
- Attendance                          │
- Class Components                    │
- ┘

**┌─ Data Layer ───────────────────────────┐**
- Local Storage                       │
- API Services (implied)              │
- Asset Management                    │
- ┘

##### Important Relationships to Highlight

- How the Navigation Layer orchestrates movement between screens
- Component reuse across different screens
- Demonstrate data flow from storage to UI components
- External service connections (if any)

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph "User Interface Layer"
        Login["Login Screen"]
        Dashboard["Dashboard"]
        Profile["Profile"]
        Subjects["Subjects"]
        Notes["Notes"]
        Menu["Menu System"]
    end

    subgraph "Navigation Layer"
        TabNav["Tab Navigator"]
        MenuNav["Menu Navigator"]
        NotesNav["Notes Navigator"]
    end

    subgraph "Component Layer"
        Navbar["Navbar"]
        Attendance["Attendance"]
        ClassComp["Class Components"]
    end

    subgraph "Data & Assets Layer"
        LocalStorage["Local Storage"]
        Assets["Asset Management"]
        APIServices["API Services"]
    end

    subgraph "Configuration"
        TailwindConfig["Tailwind Config"]
        MetroConfig["Metro Config"]
        AppConfig["App Config"]
        ExpoConfig["Expo Build Settings"]
    end

    subgraph "Entry Points"
        MainApp["Main App"]
        EntryPoint["Entry Point"]
    end

    %% Relationships
    EntryPoint --> MainApp
    MainApp --> TabNav
    TabNav --> |Routes| MenuNav
    TabNav --> |Routes| NotesNav
    
    MenuNav --> Menu
    NotesNav --> Notes
    TabNav --> Dashboard
    TabNav --> Profile
    TabNav --> Subjects

    Navbar --> |Used in| Dashboard
    Navbar --> |Used in| Profile
    Navbar --> |Used in| Subjects
    
    Attendance --> |Used in| Dashboard
    ClassComp --> |Used in| Dashboard

    Dashboard --> LocalStorage
    Profile --> LocalStorage
    Notes --> LocalStorage
    
    Assets --> MainApp
    APIServices --> MainApp

    %% Click events for component mapping
    click Login "https://github.com/biplabroy-1/Student-Self-Service-app/blob/main/Page/LoginScreen.js"
    click Dashboard "https://github.com/biplabroy-1/Student-Self-Service-app/blob/main/Page/Dashboard.js"
    click Profile "https://github.com/biplabroy-1/Student-Self-Service-app/blob/main/Page/ProfileScreen.js"
    click Subjects "https://github.com/biplabroy-1/Student-Self-Service-app/blob/main/Page/SubjectsScreen.js"
    click Notes "https://github.com/biplabroy-1/Student-Self-Service-app/blob/main/Page/NotesScreen.js"
    click Menu "https://github.com/biplabroy-1/Student-Self-Service-app/blob/main/Page/Menu/MainMenuScreen.js"
    click TabNav "https://github.com/biplabroy-1/Student-Self-Service-app/blob/main/Navigation/TabNavigator.js"
    click MenuNav "https://github.com/biplabroy-1/Student-Self-Service-app/blob/main/Navigation/MenuNavigator.js"
    click NotesNav "https://github.com/biplabroy-1/Student-Self-Service-app/blob/main/Navigation/Notesnavigator.js"
    click Navbar "https://github.com/biplabroy-1/Student-Self-Service-app/blob/main/Components/Navbar.js"
    click Attendance "https://github.com/biplabroy-1/Student-Self-Service-app/blob/main/Components/Attendence.js"
    click ClassComp "https://github.com/biplabroy-1/Student-Self-Service-app/blob/main/Components/ClassComponoent.js"
    click Assets "https://github.com/biplabroy-1/Student-Self-Service-app/tree/main/assets"
    click LocalStorage "https://github.com/biplabroy-1/Student-Self-Service-app/blob/main/assets/class.json"
    click TailwindConfig "https://github.com/biplabroy-1/Student-Self-Service-app/blob/main/tailwind.config.js"
    click MetroConfig "https://github.com/biplabroy-1/Student-Self-Service-app/blob/main/metro.config.js"
    click AppConfig "https://github.com/biplabroy-1/Student-Self-Service-app/blob/main/app.json"
    click ExpoConfig "https://github.com/biplabroy-1/Student-Self-Service-app/blob/main/eas.json"
    click MainApp "https://github.com/biplabroy-1/Student-Self-Service-app/blob/main/App.js"
    click EntryPoint "https://github.com/biplabroy-1/Student-Self-Service-app/blob/main/index.js"

    %% Styling
    classDef default fill:#f9f9f9,stroke:#333,stroke-width:2px
    classDef navigation fill:#dae8fc,stroke:#6c8ebf
    classDef ui fill:#d5e8d4,stroke:#82b366
    classDef data fill:#fff2cc,stroke:#d6b656
    classDef config fill:#e1d5e7,stroke:#9673a6
    classDef entry fill:#f8cecc,stroke:#b85450

    class TabNav,MenuNav,NotesNav navigation
    class Login,Dashboard,Profile,Subjects,Notes,Menu,Navbar,Attendance,ClassComp ui
    class LocalStorage,Assets,APIServices data
    class TailwindConfig,MetroConfig,AppConfig,ExpoConfig config
    class MainApp,EntryPoint entry
```
