# noobrehan18/bloodiq-analyzer architecture

> Architecture diagram of the GitHub repository noobrehan18/bloodiq-analyzer, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-03-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/noobrehan18/bloodiq-analyzer
- Repository: https://github.com/noobrehan18/bloodiq-analyzer

## Overview

##### Main components
- Frontend Application:
- Mention the styling and animation layers (Tailwind CSS, Framer Motion).
- External Integration Components:
- Integration with cloud storage options (Google Drive, Dropbox) for document upload.
- A REST API interface (for data extraction and export functions).
- User Interface/Interaction:
- Third-Party Tools:

##### Relationships and interactions
- From the “User” to the “Frontend Application” (file upload and rule selection).
- From the “Frontend Application” to “External Services” – marking the data submission to the AI extraction service and receiving back the results.
- Interactions between the UI components (e.g., file upload triggers the FileUpload component that then calls an external API, which then flows data to the Export module).
- Integration flow for multiple file upload methods (manual, cloud, REST API) leading to similar processing paths.

##### Architectural patterns and technologies
- A component-based architecture reflecting the React structure.
- Separation of responsibilities: UI rendering on the client side vs. external processing through APIs.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% User Node
    X["Healthcare Professional"]:::user

    %% Frontend Application Subgraph
    subgraph "Frontend Application (React UI)"
        %% Core Entry Files
        subgraph "Core Entry Files"
            A["index.html"]
            B["src/main.jsx"]
            C["src/App.jsx"]
        end
        %% UI Components
        subgraph "UI Components"
            D["Header.jsx"]
            E["HeroSection.jsx"]
            F["UploadSection.jsx"]
            G["FileUpload.jsx"]
            H["FAQs.jsx"]
            I["FaqSection.jsx"]
            J["Features.jsx"]
            K["HowItWorks.jsx"]
            L["Testimonials.jsx"]
            M["Footer.jsx"]
        end
        %% Styling & Animation
        subgraph "Styling & Animation"
            N["tailwind.config.js"]
            O["postcss.config.js"]
            P["src/App.css"]
            Q["src/index.css"]
        end
    end

    %% External Integrations Subgraph
    subgraph "External Integrations"
        R["Cloud Storage Integration (Google Drive, Dropbox)"]
        S["REST API Interface"]
        T["AI Extraction Service"]
        U["Third-Party Automation (Zapier,Workato,MSPowerAutomate)"]
    end

    %% Connections and Data Flow
    X -->|"initiates"| F
    F -->|"uploads"| R
    F -->|"triggers"| T
    F -->|"integrates"| U
    G -->|"calls"| S
    C -->|"calls"| T

    %% Styles
    classDef user fill:#FFD700,stroke:#000,stroke-width:2px;
    classDef frontend fill:#ADD8E6,stroke:#000,stroke-width:2px;
    classDef components fill:#FFB6C1,stroke:#000,stroke-width:2px;
    classDef styling fill:#90EE90,stroke:#000,stroke-width:2px;
    classDef external fill:#F08080,stroke:#000,stroke-width:2px;

    %% Apply Classes to Nodes
    class A,B,C frontend;
    class D,E,F,G,H,I,J,K,L,M components;
    class N,O,P,Q styling;
    class R,S,T,U external;

    %% Click Events for Frontend Entry Files
    click A "https://github.com/noobrehan18/bloodiq-analyzer/blob/main/index.html"
    click B "https://github.com/noobrehan18/bloodiq-analyzer/blob/main/src/main.jsx"
    click C "https://github.com/noobrehan18/bloodiq-analyzer/blob/main/src/App.jsx"

    %% Click Events for UI Components
    click D "https://github.com/noobrehan18/bloodiq-analyzer/blob/main/src/components/Header.jsx"
    click E "https://github.com/noobrehan18/bloodiq-analyzer/blob/main/src/components/HeroSection.jsx"
    click F "https://github.com/noobrehan18/bloodiq-analyzer/blob/main/src/components/UploadSection.jsx"
    click G "https://github.com/noobrehan18/bloodiq-analyzer/blob/main/src/components/FileUpload.jsx"
    click H "https://github.com/noobrehan18/bloodiq-analyzer/blob/main/src/components/FAQs.jsx"
    click I "https://github.com/noobrehan18/bloodiq-analyzer/blob/main/src/components/FaqSection.jsx"
    click J "https://github.com/noobrehan18/bloodiq-analyzer/blob/main/src/components/Features.jsx"
    click K "https://github.com/noobrehan18/bloodiq-analyzer/blob/main/src/components/HowItWorks.jsx"
    click L "https://github.com/noobrehan18/bloodiq-analyzer/blob/main/src/components/Testimonials.jsx"
    click M "https://github.com/noobrehan18/bloodiq-analyzer/blob/main/src/components/Footer.jsx"

    %% Click Events for Styling & Animation
    click N "https://github.com/noobrehan18/bloodiq-analyzer/blob/main/tailwind.config.js"
    click O "https://github.com/noobrehan18/bloodiq-analyzer/blob/main/postcss.config.js"
    click P "https://github.com/noobrehan18/bloodiq-analyzer/blob/main/src/App.css"
    click Q "https://github.com/noobrehan18/bloodiq-analyzer/blob/main/src/index.css"
```
