# atiwari2000/web-development architecture

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

- Interactive diagram: https://gitdiagram.com/atiwari2000/web-development
- Repository: https://github.com/atiwari2000/web-development

## Overview

- Repository Structure: At the highest level, the repository consists of two major segments:
- User Submission Folders: Each directory (like ATiwari2000, AnchalSingh20, AnimeshKumarRai, etc.) represents a different user’s submissions. Every user folder contains one or more HTML files corresponding to individual tasks.
- Assets Folder: Contains static resources such as CSS stylesheets, images, and an API JSON file that might be shared across tasks.
- GitHub Workflow Component: Although not code per se, the README outlines the fork, clone, commit, push, and pull-request process. This should be shown as a separate flow component guiding the developer contributions.

##### Relationships/Interactions
- User Interaction: Users fork the repository, work locally, and then commit changes to their specific user folder.
- Code Review and Merge: Once a pull request has been created, a review process takes place before merging, which can also be represented as part of the GitHub workflow.
- Shared Resources: The assets folder, which is used by multiple users, represents a common dependency (e.g., the CSS for navigation, images, or API data used within tasks).

##### Architectural Patterns and Design Principles
- Separation of Concerns: The separation between user directories (dynamic, user-submitted content) and a common assets folder (static resources) shows a clear organizational pattern.
- Simplicity and Modularity: The structure is modular as each contributor’s work is isolated in their own folder, which simplifies both integration and code review.

##### Relevant Technologies/Frameworks
- HTML/CSS Fundamentals: Since the tasks are largely HTML files supplemented by CSS (from assets/css), these technologies should be noted.
- Git/GitHub: The workflow for collaboration and version control (forking, cloning, etc.) should be clearly depicted.
- JSON: Represent any static API data provided (person.json) in the assets/api folder.

##### Final Assembly
- Upper tier: Static organization of the repository (user folders, assets).
- Lower tier: The dynamic process flow describing how developers interact with the repository via Git/GitHub.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Repository Structure
    subgraph "Repository Structure"
        %% User Submission Folders
        subgraph "User Submission Folders"
            ATiwari2000["User Folder: ATiwari2000"]:::user
            ATiwari2000_Task["Task: HTML File"]:::task
            AnchalSingh20["User Folder: AnchalSingh20"]:::user
            AnchalSingh20_Task["Task: HTML File"]:::task
            AnimeshKumarRai["User Folder: AnimeshKumarRai"]:::user
            AnimeshKumarRai_Task["Task: HTML File"]:::task
            Anukulsahu["User Folder: Anukulsahu"]:::user
            Anukulsahu_Task["Task: HTML File"]:::task
            Joshiharsh920["User Folder: Joshiharsh920"]:::user
            Joshiharsh920_Task["Task: HTML File"]:::task
            Nainsi04["User Folder: Nainsi04"]:::user
            Nainsi04_Task["Task: HTML File"]:::task
            OmkeshwarGupta["User Folder: OmkeshwarGupta"]:::user
            OmkeshwarGupta_Task["Task: HTML File"]:::task
            Preeteshspec["User Folder: Preeteshspec"]:::user
            Preeteshspec_Task["Task: HTML File"]:::task
            RVmis["User Folder: RVmis"]:::user
            RVmis_Task["Task: HTML File"]:::task
            Rajkumar562["User Folder: Rajkumar562"]:::user
            Rajkumar562_Task["Task: HTML File"]:::task
            Sanskar2807["User Folder: Sanskar2807"]:::user
            Sanskar2807_Task["Task: HTML File"]:::task
            VarshaSaroj["User Folder: VarshaSaroj"]:::user
            VarshaSaroj_Task["Task: HTML File"]:::task
            ghost_git24["User Folder: ghost-git24"]:::user
            ghost_git24_Task["Task: HTML File"]:::task
            ketanjamnal["User Folder: ketanjamnal"]:::user
            ketanjamnal_Task["Task: HTML File"]:::task
            msagastya["User Folder: msagastya"]:::user
            msagastya_Task["Task: HTML File"]:::task
            pawankrgithub["User Folder: pawankrgithub"]:::user
            pawankrgithub_Task["Task: HTML File"]:::task
            uditagrawal08["User Folder: uditagrawal08"]:::user
            uditagrawal08_Task["Task: HTML File"]:::task

            %% Link each user folder to its sample task file
            ATiwari2000 --> ATiwari2000_Task
            AnchalSingh20 --> AnchalSingh20_Task
            AnimeshKumarRai --> AnimeshKumarRai_Task
            Anukulsahu --> Anukulsahu_Task
            Joshiharsh920 --> Joshiharsh920_Task
            Nainsi04 --> Nainsi04_Task
            OmkeshwarGupta --> OmkeshwarGupta_Task
            Preeteshspec --> Preeteshspec_Task
            RVmis --> RVmis_Task
            Rajkumar562 --> Rajkumar562_Task
            Sanskar2807 --> Sanskar2807_Task
            VarshaSaroj --> VarshaSaroj_Task
            ghost_git24 --> ghost_git24_Task
            ketanjamnal --> ketanjamnal_Task
            msagastya --> msagastya_Task
            pawankrgithub --> pawankrgithub_Task
            uditagrawal08 --> uditagrawal08_Task
        end

        %% Assets Folder
        subgraph "Assets Folder"
            assets["Assets: Folder"]:::asset
            css["CSS: navbar.css"]:::asset
            images["Images Folder"]:::asset
            api["API Data: person.json"]:::asset
            assets --> css
            assets --> images
            assets --> api
        end
    end

    %% GitHub Workflow Component
    subgraph "GitHub Workflow"
        WorkflowDoc["Workflow Documentation"]:::workflow
        fork["Fork Repository"]:::workflow
        clone["Clone Repository"]:::workflow
        commit["Commit Changes"]:::workflow
        push["Push Changes"]:::workflow
        pull["Create Pull Request"]:::workflow
        review["Code Review & Merge"]:::workflow

        WorkflowDoc --> fork
        fork --> clone
        clone --> commit
        commit --> push
        push --> pull
        pull --> review
    end

    %% Interaction Flow: Sample user task submission to workflow and merge back to repository
    ATiwari2000_Task -- "submits" --> fork
    review -- "merges update" --> ATiwari2000

    %% Click Events for User Submission Folders
    click ATiwari2000 "https://github.com/atiwari2000/web-development/tree/main/ATiwari2000"
    click AnchalSingh20 "https://github.com/atiwari2000/web-development/tree/main/AnchalSingh20"
    click AnimeshKumarRai "https://github.com/atiwari2000/web-development/tree/main/AnimeshKumarRai"
    click Anukulsahu "https://github.com/atiwari2000/web-development/tree/main/Anukulsahu"
    click Joshiharsh920 "https://github.com/atiwari2000/web-development/tree/main/Joshiharsh920"
    click Nainsi04 "https://github.com/atiwari2000/web-development/tree/main/Nainsi04"
    click OmkeshwarGupta "https://github.com/atiwari2000/web-development/tree/main/OmkeshwarGupta"
    click Preeteshspec "https://github.com/atiwari2000/web-development/tree/main/Preeteshspec"
    click RVmis "https://github.com/atiwari2000/web-development/tree/main/RVmis"
    click Rajkumar562 "https://github.com/atiwari2000/web-development/tree/main/Rajkumar562"
    click Sanskar2807 "https://github.com/atiwari2000/web-development/tree/main/Sanskar2807"
    click VarshaSaroj "https://github.com/atiwari2000/web-development/tree/main/VarshaSaroj"
    click ghost_git24 "https://github.com/atiwari2000/web-development/tree/main/ghost-git24"
    click ketanjamnal "https://github.com/atiwari2000/web-development/tree/main/ketanjamnal"
    click msagastya "https://github.com/atiwari2000/web-development/tree/main/msagastya"
    click pawankrgithub "https://github.com/atiwari2000/web-development/tree/main/pawankrgithub"
    click uditagrawal08 "https://github.com/atiwari2000/web-development/tree/main/uditagrawal08"

    %% Click Events for Task Files (sample HTML file per user)
    click ATiwari2000_Task "https://github.com/atiwari2000/web-development/blob/main/ATiwari2000/task1.html"
    click AnchalSingh20_Task "https://github.com/atiwari2000/web-development/blob/main/AnchalSingh20/Task1.html"
    click AnimeshKumarRai_Task "https://github.com/atiwari2000/web-development/blob/main/AnimeshKumarRai/task1.html"
    click Anukulsahu_Task "https://github.com/atiwari2000/web-development/blob/main/Anukulsahu/task1.html"
    click Joshiharsh920_Task "https://github.com/atiwari2000/web-development/blob/main/Joshiharsh920/task1.html"
    click Nainsi04_Task "https://github.com/atiwari2000/web-development/blob/main/Nainsi04/task1.html"
    click OmkeshwarGupta_Task "https://github.com/atiwari2000/web-development/blob/main/OmkeshwarGupta/task1.html"
    click Preeteshspec_Task "https://github.com/atiwari2000/web-development/blob/main/Preeteshspec/task1.html"
    click RVmis_Task "https://github.com/atiwari2000/web-development/blob/main/RVmis/task1.html"
    click Rajkumar562_Task "https://github.com/atiwari2000/web-development/blob/main/Rajkumar562/task1.html"
    click Sanskar2807_Task "https://github.com/atiwari2000/web-development/blob/main/Sanskar2807/task1.html"
    click VarshaSaroj_Task "https://github.com/atiwari2000/web-development/blob/main/VarshaSaroj/task1.html"
    click ghost_git24_Task "https://github.com/atiwari2000/web-development/blob/main/ghost-git24/task1.html"
    click ketanjamnal_Task "https://github.com/atiwari2000/web-development/blob/main/ketanjamnal/task1.html"
    click msagastya_Task "https://github.com/atiwari2000/web-development/blob/main/msagastya/task1.html"
    click pawankrgithub_Task "https://github.com/atiwari2000/web-development/blob/main/pawankrgithub/task1.html"
    click uditagrawal08_Task "https://github.com/atiwari2000/web-development/blob/main/uditagrawal08/task1.html"

    %% Click Events for Assets Folder Components
    click assets "https://github.com/atiwari2000/web-development/tree/main/assets"
    click css "https://github.com/atiwari2000/web-development/blob/main/assets/css/navbar.css"
    click images "https://github.com/atiwari2000/web-development/tree/main/assets/images"
    click api "https://github.com/atiwari2000/web-development/blob/main/assets/api/person.json"

    %% Click Event for GitHub Workflow Documentation
    click WorkflowDoc "https://github.com/atiwari2000/web-development/blob/main/README.md"

    %% Styles
    classDef user fill:#f9c74f,stroke:#333,stroke-width:2px;
    classDef asset fill:#90be6d,stroke:#333,stroke-width:2px;
    classDef workflow fill:#f3722c,stroke:#333,stroke-width:2px;
    classDef task fill:#577590,stroke:#333,stroke-width:2px,fill-opacity:0.7;
```
