# frno10/googlemeetexporter architecture

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

- Interactive diagram: https://gitdiagram.com/frno10/googlemeetexporter
- Repository: https://github.com/frno10/googlemeetexporter

## Overview

##### Main Components

a. Client Application Layer:
- .NET Console Application (Program.cs)
- OAuth 2.0 Authentication Handler
- Google Calendar API Client

b. External Services:
- Google Calendar API
- Google OAuth 2.0 Authorization Server

##### Specific Details

a. Authentication Components:
- Client ID and Secret configuration
- Token storage/handling
- OAuth 2.0 flow

b. API Integration:
- Calendar API endpoints
- Data models for calendar events
- Request/Response flow

##### Security boundaries between components

Keep the abstraction level focused on the main architectural components while showing the critical integration points with Google's services. This will help developers understand both the application structure and the external service dependencies.

Remember to indicate that this is a simple console application that serves as a quick start example for Google Calendar API integration, rather than a complex system.

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph "Client Application Layer"
        CA[".NET Console Application"]
        OH["OAuth Handler"]
        GC["Google Calendar Client"]
    end

    subgraph "Google Services"
        direction TB
        OAUTH["OAuth 2.0 Authorization Server"]
        GCAPI["Google Calendar API"]
    end

    %% Authentication Flow
    CA -->|"1. Request Auth"| OH
    OH -.->|"2. Auth Request"| OAUTH
    OAUTH -.->|"3. Return Token"| OH
    OH -->|"4. Store Token"| CA

    %% API Flow
    CA -->|"5. Calendar Operation"| GC
    GC -->|"6. API Request"| GCAPI
    GCAPI -->|"7. Calendar Data"| GC
    GC -->|"8. Processed Data"| CA

    %% Styling
    classDef application fill:#a8d1ff,stroke:#333,stroke-width:2px
    classDef auth fill:#90EE90,stroke:#333,stroke-width:2px
    classDef external fill:#FFA500,stroke:#333,stroke-width:2px

    class CA,GC application
    class OH auth
    class OAUTH,GCAPI external

    %% Click Events
    click CA "https://github.com/frno10/GoogleMeetExporter/blob/main/Program.cs"
    
    %% Legend
    subgraph Legend
        L1[".NET Components"]:::application
        L2["Auth Components"]:::auth
        L3["External Services"]:::external
        L4["--> Data Flow"]
        L5["--> Auth Flow"]
    end
```
