# alvarovillalbaa/earlycode architecture

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

- Interactive diagram: https://gitdiagram.com/alvarovillalbaa/earlycode
- Repository: https://github.com/alvarovillalbaa/earlycode

## Overview

##### Main Component Categories

a) Web Applications
- User Account System
- Contact Form
- Flight Widget
- Database & Web Integration Projects

b) Python Utilities
- Data Analysis Tools (EDAs)
- Automation Tools
- Games
- API Integrations

c) Blockchain & Web3
- ETH Tracker
- Web3 Data Storage

##### Component Organization

For each major section, structure the components as follows:

A. Web Applications Layer:
- Frontend Components (HTML, CSS, JS)
- Backend Components (PHP, Node.js)
- Database Connections (SQL)
- File Storage Systems

B. Python Applications Layer:
- CLI Applications
- GUI Applications (Turtle, PyGame)
- Data Processing Scripts
- External API Integrations

C. Blockchain Layer:
- Web3 Interactions
- Smart Contract Integration
- Blockchain Data Storage

##### Specific Design Elements

Use these visual elements:
- Blue rectangles for web applications
- Green rectangles for Python utilities
- Orange rectangles for blockchain components
- Cloud symbols for external services

##### Key Relationships to Highlight

- Database Connections:
- User account system ↔ MySQL Database
- File storage system ↔ File server
- Contact form ↔ Database

- External Services:
- Weather Fetcher ↔ Weather API
- ETH Tracker ↔ Ethereum Network
- Email Sender ↔ SMTP Server

##### Technical Stack Representation

Technology indicators:
- Frontend: HTML, CSS, JavaScript, PHP
- Backend: PHP, Python, Node.js
- Databases: MySQL
- External APIs: Weather, Cryptocurrency, Email
- Blockchain: Web3, Ethereum

## Diagram (Mermaid)

```mermaid
graph TB
    %% Style Definitions
    classDef web fill:#3498db,stroke:#2980b9,color:white
    classDef python fill:#2ecc71,stroke:#27ae60,color:white
    classDef blockchain fill:#e67e22,stroke:#d35400,color:white
    classDef database fill:#95a5a6,stroke:#7f8c8d,color:white
    classDef api fill:#9b59b6,stroke:#8e44ad,color:white
    classDef storage fill:#34495e,stroke:#2c3e50,color:white

    %% Main Categories
    subgraph Web_Applications
        UserAccount["User Account System"]:::web
        ContactForm["Contact Form"]:::web
        FlightWidget["Flight Widget"]:::web
        DBWeb["Database & Web Integration"]:::web
        FileStorage["File Storage System"]:::web
    end

    subgraph Python_Utilities
        DataAnalysis["Data Analysis Tools"]:::python
        Automation["Automation Tools"]:::python
        Games["Games Collection"]:::python
        WeatherFetcher["Weather Fetcher"]:::python
        EmailSystem["Email Systems"]:::python
    end

    subgraph Blockchain_Components
        ETHTracker["ETH Tracker"]:::blockchain
        Web3Storage["Web3 Storage"]:::blockchain
    end

    %% Databases and External Services
    DB[(MySQL Database)]:::database
    FileServer[(File Server)]:::storage
    ExternalAPIs{{"External APIs"}}:::api
    BlockchainNetwork{{"Ethereum Network"}}:::blockchain
    SMTPServer{{"SMTP Server"}}:::api

    %% Relationships
    UserAccount --> DB
    ContactForm --> DB
    DBWeb --> DB
    FileStorage --> FileServer
    WeatherFetcher --> ExternalAPIs
    ETHTracker --> BlockchainNetwork
    Web3Storage --> BlockchainNetwork
    EmailSystem --> SMTPServer

    %% Click Events
    click UserAccount "https://github.com/alvarovillalbaa/earlycode/tree/main/user-account-system"
    click ContactForm "https://github.com/alvarovillalbaa/earlycode/tree/main/contact-form"
    click FlightWidget "https://github.com/alvarovillalbaa/earlycode/tree/main/flight-widget"
    click DBWeb "https://github.com/alvarovillalbaa/earlycode/tree/main/ddbb-and-web"
    click FileStorage "https://github.com/alvarovillalbaa/earlycode/tree/main/files-and-images"
    click DataAnalysis "https://github.com/alvarovillalbaa/earlycode/tree/main/EDAs"
    click Automation "https://github.com/alvarovillalbaa/earlycode/tree/main/Excel_Automation_"
    click WeatherFetcher "https://github.com/alvarovillalbaa/earlycode/blob/main/Weather Fetcher/weatherfetcher.py"
    click EmailSystem "https://github.com/alvarovillalbaa/earlycode/blob/main/Send Email/send_email.py"
    click ETHTracker "https://github.com/alvarovillalbaa/earlycode/blob/main/ETHTracker/ETHTracker.py"
    click Web3Storage "https://github.com/alvarovillalbaa/earlycode/blob/main/web3_DataStorage/deploy.py"
    click Games "https://github.com/alvarovillalbaa/earlycode/blob/main/PONG/pongame.py"

    %% Legend
    subgraph Legend
        WebApp["Web Application"]:::web
        PythonApp["Python Application"]:::python
        BlockchainApp["Blockchain Component"]:::blockchain
        DatabaseComp[(Database)]:::database
        APIComp{{"External API"}}:::api
        StorageComp[(Storage)]:::storage
    end
```
